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 =
|
template t =
|
||||||
const x = output_x()
|
const x = output_x()
|
||||||
let
|
let
|
||||||
bar {.exportC:"bar" & x.} = 100
|
bar {.exportc:"bar" & x.} = 100
|
||||||
|
|
||||||
static:
|
static:
|
||||||
doAssert(compiles (t()))
|
doAssert(compiles (t()))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue