diff options
| author | 2022-08-19 08:00:19 +0200 | |
|---|---|---|
| committer | 2022-08-19 08:00:19 +0200 | |
| commit | 3481ab142293bd82fdd59e3ec86dd66352e457c3 (patch) | |
| tree | a22bfef6fc5ce7b310ca5752b0765775d5bc921a /bootstrap | |
| parent | c82ffed2326500d1df4058cf629f341190b84b89 (diff) | |
enum union size,align and enumty
Diffstat (limited to 'bootstrap')
| -rw-r--r-- | bootstrap/test.cff | 6 |
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 } ; |