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