Files
Pierre-Marie de Rodat 2b40a5ce99 Lkt: start handling the lowering of nodes
TN: RA22-015
2020-06-11 14:37:13 +02:00

21 lines
332 B
Python

"""
Test getting the filename corresponding to an analysis unit.
"""
from langkit.dsl import ASTNode
from utils import build_and_run
class FooNode(ASTNode):
pass
class Example(FooNode):
pass
build_and_run(lkt_file='expected_concrete_syntax.lkt', py_script='main.py',
types_from_lkt=True)
print('Done')