summaryrefslogtreecommitdiff
path: root/tests/headers/anon_enum.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headers/anon_enum.hpp')
-rw-r--r--tests/headers/anon_enum.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/headers/anon_enum.hpp b/tests/headers/anon_enum.hpp
new file mode 100644
index 00000000..1961fe6c
--- /dev/null
+++ b/tests/headers/anon_enum.hpp
@@ -0,0 +1,10 @@
+struct Test {
+ int foo;
+ float bar;
+ enum { T_NONE };
+};
+
+typedef enum {
+ Foo,
+ Bar,
+} Baz;