forked from M-Labs/artiq
1
0
Fork 0
artiq/lit-test/compiler/typing/scoping.py

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]