diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/sp_paren_brace.cpp')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/sp_paren_brace.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/sp_paren_brace.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/sp_paren_brace.cpp new file mode 100644 index 00000000..4ac73f87 --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/sp_paren_brace.cpp @@ -0,0 +1,18 @@ +void *stopper_for_apply = (int[]) {0}; +// ^ here + +template<typename T, typename U> +auto add(T t, U u) -> decltype(t + u) { +// ^ here + return t + u; +} + +void f()noexcept() { +// ^ here +} + +#define FOO5(x) for(;;) (!(x)) { *(volatile int*)0 = 1; } +// ^ here + +(struct foo) {...} +// ^ here |