artiq/lit-test/py2llvm/typing/prelude.py
2015-06-28 22:40:57 +03:00

11 lines
196 B
Python

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