diff options
Diffstat (limited to 'tests/unions.ek')
| -rw-r--r-- | tests/unions.ek | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/unions.ek b/tests/unions.ek deleted file mode 100644 index b493d5a..0000000 --- a/tests/unions.ek +++ /dev/null @@ -1,21 +0,0 @@ -typedef any {} - -union basic_union { - u32 a; - i64 b; - f32 c; -} - -union complex_union(any A, any B, any C) { - A a; - B b; - C c; -} - -main() -{ - const simple_named = {.b = 1} as basic_union; - - // TODO: unions should be fully actualized - const complex_named = {.b = 1} as complex_union![u32, i64, f32]; -} |
