artiq/lit-test/py2llvm/typing/prelude.py
2015-06-24 11:46:15 +03:00

11 lines
205 B
Python

# 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