Files
mgmt/lang/interpret_test/TestAstFunc1/doubleinclude.txtar
2023-06-01 16:56:44 -04:00

22 lines
392 B
Plaintext

-- main.mcl --
include c1("t1")
include c1("t2")
class c1($a) {
test $a {
stringptr => $foo,
}
}
$foo = "hey"
-- OUTPUT --
Edge: str("hey") -> var(foo) # var:foo
Edge: str("hey") -> var(foo) # var:foo
Edge: str("t1") -> var(a) # var:a
Edge: str("t2") -> var(a) # var:a
Vertex: str("hey")
Vertex: str("t1")
Vertex: str("t2")
Vertex: var(a)
Vertex: var(a)
Vertex: var(foo)
Vertex: var(foo)