diff options
Diffstat (limited to 'tests/accept/run/temit.nim')
-rw-r--r-- | tests/accept/run/temit.nim | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/accept/run/temit.nim b/tests/accept/run/temit.nim deleted file mode 100644 index 81f9b53ae..000000000 --- a/tests/accept/run/temit.nim +++ /dev/null @@ -1,14 +0,0 @@ -# Test the new ``emit`` pragma: - -{.emit: """ -static int cvariable = 420; - -""".} - -proc embedsC() {.pure.} = - var nimrodVar = 89 - {.emit: """fprintf(stdout, "%d\n", cvariable + (int)`nimrodVar`);""".} - -embedsC() - - |