diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/cpp/bug_1402.cpp')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/cpp/bug_1402.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/cpp/bug_1402.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/cpp/bug_1402.cpp new file mode 100644 index 00000000..9b001a44 --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/cpp/bug_1402.cpp @@ -0,0 +1,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); +} |