mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-02 03:02:31 +00:00
* Remove declPragmas from lambdas [backport:1.0] * add test for exportc * fix test * fix align, nodecl -> noinit
8 lines
143 B
Nim
8 lines
143 B
Nim
discard """
|
|
errormsg: "invalid pragma: exportc"
|
|
"""
|
|
|
|
let _ = proc () {.exportc.} =
|
|
# this would previously cause a codegen error
|
|
discard
|