summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/34211-anonymous_enum.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/34211-anonymous_enum.cpp')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/34211-anonymous_enum.cpp37
1 files changed, 37 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/34211-anonymous_enum.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/34211-anonymous_enum.cpp
new file mode 100644
index 00000000..ef237a6e
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/34211-anonymous_enum.cpp
@@ -0,0 +1,37 @@
+enum {
+ E11 = 0,
+ E12 = 1,
+ E13 = 2
+};
+
+enum Enum1 {
+ E21 = 0,
+ E22 = 1,
+ E23 = 2
+};
+
+enum Enum2 : int {
+ E31 = 0,
+ E32 = 1,
+ E33 = 2
+};
+
+enum Enum3
+: int {
+ E41 = 0,
+ E42 = 1,
+ E43 = 2
+};
+
+enum : int {
+ E51 = 0,
+ E52 = 1,
+ E53 = 2
+};
+
+enum
+: int {
+ E61 = 0,
+ E62 = 1,
+ E63 = 2
+}; \ No newline at end of file