mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-19 00:16:29 +08:00
15 lines
161 B
Python
15 lines
161 B
Python
# RUN: %python -m artiq.compiler.testbench.jit %s
|
|
# RUN: %python %s
|
|
|
|
class c:
|
|
a = 1
|
|
|
|
i = c()
|
|
|
|
assert i.a == 1
|
|
|
|
def f():
|
|
c = None
|
|
assert i.a == 1
|
|
f()
|