aboutsummaryrefslogtreecommitdiffstats
path: root/test/uniondecdef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/uniondecdef.cpp')
-rw-r--r--test/uniondecdef.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/uniondecdef.cpp b/test/uniondecdef.cpp
new file mode 100644
index 0000000..ebded31
--- /dev/null
+++ b/test/uniondecdef.cpp
@@ -0,0 +1,14 @@
+
+namespace uniondecl_ns{
+union testUnion {
+ int reg;
+ bool b1;
+ bool b2;
+};
+
+#define uniondecdefmacro unionDecDefMacroExpanded
+union uniondecdefmacro {
+ int reggie;
+ int bubu;
+};
+}; // namespace