diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/60075-Issue_3294.cpp')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/60075-Issue_3294.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/60075-Issue_3294.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/60075-Issue_3294.cpp new file mode 100644 index 00000000..4f0718cc --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/60075-Issue_3294.cpp @@ -0,0 +1,17 @@ +#include <vector> + +std::vector<int> x; + +void f1() +{ + int v = x.empty() + /**/ ? x.size() + /**/ : x.size(); +} + +void f2() +{ + int v = x.empty() + ? x.size() + : x.size(); +} |