diff options
Diffstat (limited to 'tests/headers/dupe-enum-variant-in-namespace.h')
-rw-r--r-- | tests/headers/dupe-enum-variant-in-namespace.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/headers/dupe-enum-variant-in-namespace.h b/tests/headers/dupe-enum-variant-in-namespace.h new file mode 100644 index 00000000..6d72437d --- /dev/null +++ b/tests/headers/dupe-enum-variant-in-namespace.h @@ -0,0 +1,10 @@ +// bindgen-flags: --rustified-enum ".*" --enable-cxx-namespaces -- -x c++ + +namespace foo { + enum class Bar : unsigned { + Foo = 0, + Foo1 = 0, + Foo2, + Foo3 = Foo2, + }; +} |