exportC => exportc (#18625)
This commit is contained in:
parent
ecfc47b332
commit
52e276c82d
1 changed files with 1 additions and 1 deletions
|
|
@ -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()))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue