forked from M-Labs/artiq
1
0
Fork 0
artiq/lit-test/test/inferencer/prelude.py

11 lines
211 B
Python
Raw Normal View History

# RUN: %python -m artiq.compiler.testbench.inferencer %s >%t
2015-06-24 16:46:15 +08:00
# RUN: OutputCheck %s --file-to-check=%t
2015-06-29 03:40:57 +08:00
# CHECK-L: x:<function len>
2015-06-24 16:46:15 +08:00
x = len
def f():
global len
# CHECK-L: len:int(width='a) =
len = 1