forked from M-Labs/artiq
1
0
Fork 0
artiq/lit-test/test/embedding/exception.py

13 lines
268 B
Python

# RUN: %python -m artiq.compiler.testbench.embedding %s
from artiq.language.core import *
from artiq.language.types import *
from artiq.coredevice.exceptions import RTIOUnderflow
@kernel
def entrypoint():
try:
pass
except RTIOUnderflow:
pass