forked from M-Labs/artiq
6bf95397d7
Since the package implements a typechecker along with a code generator, and the typechecker will be run before or together with transformations, this name is more descriptive.
9 lines
154 B
Python
9 lines
154 B
Python
# RUN: %python -m artiq.compiler.typing %s >%t
|
|
# RUN: OutputCheck %s --file-to-check=%t
|
|
|
|
def f():
|
|
global x
|
|
x = 1
|
|
# CHECK-L: [x:int(width='a)]
|
|
[x]
|