diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2017-01-13 21:30:49 +0100 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2017-01-13 21:30:49 +0100 |
commit | dfb25b389bec5492b6fd61e92a2552cab03a6afc (patch) | |
tree | 7543d75c1a760d7681d0c1daf9447469d7509c2c /libbindgen/tests/headers | |
parent | aaa7280a08b65aebe42b5405aec2bf72ae780885 (diff) |
codegen: Prefer use instead of type aliases.
Diffstat (limited to 'libbindgen/tests/headers')
-rw-r--r-- | libbindgen/tests/headers/anon_enum.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libbindgen/tests/headers/anon_enum.hpp b/libbindgen/tests/headers/anon_enum.hpp index c7405202..1961fe6c 100644 --- a/libbindgen/tests/headers/anon_enum.hpp +++ b/libbindgen/tests/headers/anon_enum.hpp @@ -3,3 +3,8 @@ struct Test { float bar; enum { T_NONE }; }; + +typedef enum { + Foo, + Bar, +} Baz; |