mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
13
tests/ccgbugs/t19585.nim
Normal file
13
tests/ccgbugs/t19585.nim
Normal file
@@ -0,0 +1,13 @@
|
||||
discard """
|
||||
targets: "c cpp"
|
||||
"""
|
||||
|
||||
# bug #19585
|
||||
|
||||
type
|
||||
X* {.exportc.} = object
|
||||
v: int
|
||||
|
||||
{.emit:"""
|
||||
X x = { 1234 };
|
||||
""".}
|
||||
Reference in New Issue
Block a user