summary refs log blame commit diff stats
path: root/tests/ccgbugs/t19445.nim
blob: b6e8d028c3d8eb0b315e6922e855b7f855afd873 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                                            
discard """
  matrix: "--nimcache:tests/ccgbugs/nimcache19445 --cincludes:nimcache19445 --header:m19445"
  targets: "c"
"""

# bug #19445
type
  Foo* {.exportc.} = object
    a*, b*, c*, d*: int

proc dummy(): Foo {.exportc.} = discard

{.compile:"m19445.c".}