diff options
Diffstat (limited to 'tests/trait_multiple_expand.ek')
| -rw-r--r-- | tests/trait_multiple_expand.ek | 8 |
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(); +} |
