diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-08-14 20:44:26 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-08-14 20:44:26 +0300 |
| commit | 2023a7b2d9656f80b00de81453348c0a66f200f7 (patch) | |
| tree | 06e4ea293318955cc4cf620428d04f1708c17364 /tests/unions.ek | |
| parent | 1a56a881bc2c37614cfd074e7b986211c6d04809 (diff) | |
| download | ek-2023a7b2d9656f80b00de81453348c0a66f200f7.tar.gz ek-2023a7b2d9656f80b00de81453348c0a66f200f7.zip | |
test cleanup
+ Somewhat poor Git hygiene but I also fixed some bugs while I was at
it.
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]; -} |
