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

9 lines
153 B
Python

# RUN: %python -m artiq.py2llvm.typing %s >%t
# RUN: OutputCheck %s --file-to-check=%t
def f():
global x
x = 1
# CHECK-L: [x:int(width='a)]
[x]