summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/expected/cpp/34180-bug_1402.cpp
blob: 09714c411f0ad4fc95baf349243f343d70b9e48d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
namespace Constants
{
double PI = 3.14;
}
int factor = 41;
double result = Constants::PI * factor;

return Constants::PI * factor;

void func(int value) {
	return SomeClass(value, Constants::PI * value);
}