Files
Nim/tests/pragmas/t5149.nim
2019-01-02 20:01:06 +01:00

13 lines
171 B
Nim

discard """
errormsg: "{.exportc.} not allowed for type aliases"
line: 9
"""
type
X* = object
a: int
Y* {.exportc.} = X
proc impl*(x: X) =
echo "it works"