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

11 lines
205 B
Python
Raw Normal View History

2015-06-24 16:46:15 +08:00
# RUN: %python -m artiq.py2llvm.typing %s >%t
# RUN: OutputCheck %s --file-to-check=%t
# CHECK-L: x:<built-in function len>
x = len
def f():
global len
# CHECK-L: len:int(width='a) =
len = 1