From 018e1ba581ec6f01f069a45ec4cf89f152b44d5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 19 Mar 2025 15:41:36 +0100 Subject: remerge --- libcutl/tests/compiler/cxx-indenter/output.std | 103 +++++++++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100644 libcutl/tests/compiler/cxx-indenter/output.std (limited to 'libcutl/tests/compiler/cxx-indenter/output.std') diff --git a/libcutl/tests/compiler/cxx-indenter/output.std b/libcutl/tests/compiler/cxx-indenter/output.std new file mode 100644 index 0000000..79e74f4 --- /dev/null +++ b/libcutl/tests/compiler/cxx-indenter/output.std @@ -0,0 +1,103 @@ +if (true) +{ + // Hello there + // + a (); +} +else +{ + b (); +} + +if (true) + // Hello there + // + a (); +else + b (); + +if (false) +{ + if (true) + { + // test + } + else + { + // test + b (); + } +} + +namespace a +{ + void f (); +} + +#if defined(__HP_aCC) && __HP_aCC <= 39999 +#include +#endif + +namespace b +{ + void f (); +} + +do + f (); +while (false); + +do +{ + f (); +} +while (false); + +do +{ + if (f ()) + { + g (); + } +} +while (false); + +do +{ + do + f (); + while (false); +} +while (false); + +do +{ + do + { + f (); + } + while (false); +} +while (false); + +{ + f ("CREATE TABLE \"test\" (" + "'id'," + "'name')"); +} + +namespace N +{ + static int i[] = + { + { + 0, + 0 + }, + { + 1, + 1 + } + }; +} + -- cgit v1.2.3