lang: Add more tests for class and include
This commit is contained in:
9
lang/interpret_test/TestAstFunc2/class-capture7/main.mcl
Normal file
9
lang/interpret_test/TestAstFunc2/class-capture7/main.mcl
Normal file
@@ -0,0 +1,9 @@
|
||||
class foo {
|
||||
test "t1" {}
|
||||
class bar { # unused definition
|
||||
test "t0" {}
|
||||
}
|
||||
}
|
||||
include foo
|
||||
# This sort of thing is not currently supported, and not sure if it ever will.
|
||||
include bar # nope!
|
||||
Reference in New Issue
Block a user