aboutsummaryrefslogtreecommitdiff
path: root/tests/trait_multiple_expand.ek
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-08-14 20:44:26 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-08-14 20:44:26 +0300
commit2023a7b2d9656f80b00de81453348c0a66f200f7 (patch)
tree06e4ea293318955cc4cf620428d04f1708c17364 /tests/trait_multiple_expand.ek
parent1a56a881bc2c37614cfd074e7b986211c6d04809 (diff)
downloadek-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/trait_multiple_expand.ek')
-rw-r--r--tests/trait_multiple_expand.ek8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/trait_multiple_expand.ek b/tests/trait_multiple_expand.ek
index 285a6ea..04e2b82 100644
--- a/tests/trait_multiple_expand.ek
+++ b/tests/trait_multiple_expand.ek
@@ -1,3 +1,5 @@
+typedef ptr {}
+
define b[] {
c![];
a![];
@@ -16,3 +18,9 @@ typedef d {
b![];
c(*d d) {}
}
+
+main()
+{
+ d d = d!{};
+ d.c();
+}