summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/cpp/bug_1402.cpp
blob: 9b001a4418cd9bb7152e34b86897d45cdb437cf8 (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);
}