mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-19 15:31:28 +00:00
This commit is contained in:
9
tests/vm/tscriptcompiletime.nims
Normal file
9
tests/vm/tscriptcompiletime.nims
Normal file
@@ -0,0 +1,9 @@
|
||||
discard """
|
||||
cmd: "nim e $file"
|
||||
"""
|
||||
|
||||
import mscriptcompiletime
|
||||
|
||||
macro foo =
|
||||
doAssert bar == 2
|
||||
foo()
|
||||
Reference in New Issue
Block a user