aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap')
-rw-r--r--bootstrap/test.cff6
1 files changed, 6 insertions, 0 deletions
diff --git a/bootstrap/test.cff b/bootstrap/test.cff
index ef0bbfb..31dfd6b 100644
--- a/bootstrap/test.cff
+++ b/bootstrap/test.cff
@@ -76,6 +76,12 @@ defmacro transmute(Type, x) [
)
]
+enum union Number {
+ none,
+ int i64,
+ flo f32,
+}
+
extern fn main (argc int, argv **u8) int {
let colors [3]Color = { :Red, :Green, :Blue } ;