summary refs log tree commit diff stats
path: root/tests/c/temit.nim
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2024-06-02 17:54:39 +0800
committerGitHub <noreply@github.com>2024-06-02 11:54:39 +0200
commit08f1eac8ac46baccd1701715feb8aca7b00e0be7 (patch)
tree9fb076bd8c172fc19d1562d5982b9a4a570bee90 /tests/c/temit.nim
parentde4c7dfdd9501e286e0e525446e82ff340a628f4 (diff)
downloadNim-08f1eac8ac46baccd1701715feb8aca7b00e0be7.tar.gz
fixes#23665; rework spawn with gcc 14 and fixes other tests (#23660)
fixes #23665
Diffstat (limited to 'tests/c/temit.nim')
-rw-r--r--tests/c/temit.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/c/temit.nim b/tests/c/temit.nim
index ee7455d4c..1943c94ea 100644
--- a/tests/c/temit.nim
+++ b/tests/c/temit.nim
@@ -4,6 +4,7 @@ discard """
 # Test the new ``emit`` pragma:
 
 {.emit: """
+#include <stdio.h>
 static int cvariable = 420;
 
 """.}