lang: Add more tests for class and include
This commit is contained in:
7
lang/interpret_test/TestAstFunc2/class-capture4/main.mcl
Normal file
7
lang/interpret_test/TestAstFunc2/class-capture4/main.mcl
Normal file
@@ -0,0 +1,7 @@
|
||||
$x1 = "t1"
|
||||
class foo {
|
||||
test $x1 {}
|
||||
test $x2 {}
|
||||
}
|
||||
include foo
|
||||
$x2 = "t2"
|
||||
Reference in New Issue
Block a user