mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-04 17:31:10 +08:00
13 lines
200 B
Python
13 lines
200 B
Python
|
# RUN: %python -m artiq.compiler.testbench.embedding %s
|
||
|
|
||
|
from artiq.language.core import *
|
||
|
from artiq.language.types import *
|
||
|
|
||
|
def f(x):
|
||
|
print(x)
|
||
|
|
||
|
@kernel
|
||
|
def entrypoint():
|
||
|
f("foo")
|
||
|
f(42)
|