aboutsummaryrefslogtreecommitdiff
path: root/tests/type_expand.ek
diff options
context:
space:
mode:
Diffstat (limited to 'tests/type_expand.ek')
-rw-r--r--tests/type_expand.ek11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/type_expand.ek b/tests/type_expand.ek
new file mode 100644
index 0000000..e58d0a0
--- /dev/null
+++ b/tests/type_expand.ek
@@ -0,0 +1,11 @@
+define trait[] {
+ trait_func(*trait a, *trait b);
+}
+
+typedef a[] {
+ trait![];
+}
+
+main() {
+ a![] some_var;
+}