t19585.nim 125 B

12345678910111213
  1. discard """
  2. targets: "c cpp"
  3. """
  4. # bug #19585
  5. type
  6. X* {.exportc.} = object
  7. v: int
  8. {.emit:"""
  9. X x = { 1234 };
  10. """.}