diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/anonymous_enum.cpp')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/anonymous_enum.cpp | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/anonymous_enum.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/anonymous_enum.cpp new file mode 100644 index 00000000..0cf8426d --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/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 |