lit-test: fix devirtualization/*.

This commit is contained in:
whitequark 2015-12-02 20:36:49 +08:00
parent a66b3d9bee
commit 5b1b49413a
2 changed files with 7 additions and 1 deletions

View File

@ -4,5 +4,11 @@
"module": "artiq.coredevice.comm_dummy", "module": "artiq.coredevice.comm_dummy",
"class": "Comm", "class": "Comm",
"arguments": {} "arguments": {}
},
"core": {
"type": "local",
"module": "artiq.coredevice.core",
"class": "Core",
"arguments": {"ref_period": 1e-9}
} }
} }

View File

@ -4,7 +4,7 @@
from artiq.language.core import * from artiq.language.core import *
from artiq.language.types import * from artiq.language.types import *
# CHECK-L: call ()->NoneType %local.testbench.entrypoint ; calls testbench.entrypoint # CHECK-L: call ()->NoneType delay('b) %local.testbench.entrypoint ; calls testbench.entrypoint
@kernel @kernel
def baz(): def baz():