diff options
Diffstat (limited to 'libcutl/tests/compiler/cxx-indenter/output.std')
-rw-r--r-- | libcutl/tests/compiler/cxx-indenter/output.std | 103 |
1 files changed, 103 insertions, 0 deletions
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 <foo.h> +#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 + } + }; +} + |