Skip to content

Commit 4dfd6be

Browse files
committed
Added error test case for using undeclared polymorphs within a struct definition
1 parent 82f17a5 commit 4dfd6be

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
pragma => adept("3.0")
3+
4+
struct Vector (items ptr<$T>, length ulonglong, capacity ulonglong)
5+
6+
func main {}

0 commit comments

Comments
 (0)