]> Nishi Git Mirror - gwion.git/commitdiff
:white_check_mark: Test global unnamed union
authorfennecdjay <astor.jeremie@wanadoo.fr>
Thu, 10 Oct 2019 15:21:43 +0000 (17:21 +0200)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Thu, 10 Oct 2019 15:21:43 +0000 (17:21 +0200)
tests/tree/global_unnamed_union.gw [new file with mode: 0644]

diff --git a/tests/tree/global_unnamed_union.gw b/tests/tree/global_unnamed_union.gw
new file mode 100644 (file)
index 0000000..9a1a273
--- /dev/null
@@ -0,0 +1,6 @@
+union global {
+  int int_from_global_union;
+  float float_from_global_union;
+};
+
+<<< float_from_global_union >>>;