summary refs log tree commit diff stats
path: root/tests/misc/temit.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/temit.nim')
-rw-r--r--tests/misc/temit.nim15
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/misc/temit.nim b/tests/misc/temit.nim
deleted file mode 100644
index ee7455d4c..000000000
--- a/tests/misc/temit.nim
+++ /dev/null
@@ -1,15 +0,0 @@
-discard """
-  output: "509"
-"""
-# Test the new ``emit`` pragma:
-
-{.emit: """
-static int cvariable = 420;
-
-""".}
-
-proc embedsC() =
-  var nimVar = 89
-  {.emit: """printf("%d\n", cvariable + (int)`nimVar`);""".}
-
-embedsC()