closes #19585; adds a test case for #21648 (#24310)

closes #19585
follow up #21648
This commit is contained in:
ringabout
2024-10-15 09:19:46 +08:00
committed by GitHub
parent 3e8f44b232
commit 922f7dfd71

13
tests/ccgbugs/t19585.nim Normal file
View File

@@ -0,0 +1,13 @@
discard """
targets: "c cpp"
"""
# bug #19585
type
X* {.exportc.} = object
v: int
{.emit:"""
X x = { 1234 };
""".}