mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 08:54:53 +00:00
exportC => exportc (#18625)
This commit is contained in:
@@ -3,7 +3,7 @@ proc output_x:string {.compileTime.} = "x"
|
||||
template t =
|
||||
const x = output_x()
|
||||
let
|
||||
bar {.exportC:"bar" & x.} = 100
|
||||
bar {.exportc:"bar" & x.} = 100
|
||||
|
||||
static:
|
||||
doAssert(compiles (t()))
|
||||
|
||||
Reference in New Issue
Block a user