aboutsummaryrefslogtreecommitdiff
path: root/tests/enums.ek
diff options
context:
space:
mode:
Diffstat (limited to 'tests/enums.ek')
-rw-r--r--tests/enums.ek23
1 files changed, 0 insertions, 23 deletions
diff --git a/tests/enums.ek b/tests/enums.ek
deleted file mode 100644
index ef7850c..0000000
--- a/tests/enums.ek
+++ /dev/null
@@ -1,23 +0,0 @@
-typedef i27 {
- add(i27 a, i27 b => i27) {
- return a + b;
- }
-};
-
-typedef i9 {};
-
-enum A {
- a = 200,
- b
-}
-
-enum B: i9 {
- b, c
-}
-
-main()
-{
- const a = a::A;
- const b = b::B;
- const c = a.add(b as i27);
-}