summaryrefslogtreecommitdiff
path: root/tests/headers/empty-union.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headers/empty-union.hpp')
-rw-r--r--tests/headers/empty-union.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/headers/empty-union.hpp b/tests/headers/empty-union.hpp
new file mode 100644
index 00000000..3b067e39
--- /dev/null
+++ b/tests/headers/empty-union.hpp
@@ -0,0 +1,5 @@
+// bindgen-flags: --opaque-type "*"
+
+template <int> class a {
+ union {};
+};