summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/cpp/bug_858.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/cpp/bug_858.cpp')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/cpp/bug_858.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/cpp/bug_858.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/cpp/bug_858.cpp
new file mode 100644
index 00000000..512d2e45
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/cpp/bug_858.cpp
@@ -0,0 +1,16 @@
+enum {
+ item1=123,
+ item2 // comment 2
+}
+
+enum
+{
+ item3,
+ item4, // comment 4
+}
+enum { x, y };
+enum { x, y=0 };
+enum { x, y=0 /*comment*/ };
+enum { x, y,};
+enum { x, y=0,};
+enum { x, y=0,/*comment*/ };