texportgeneric.nim 133 B

12345678
  1. discard """
  2. errormsg: "{.exportc.} not allowed for generic types"
  3. line: 6
  4. """
  5. type Struct[T] {.exportc.} = object
  6. a:int
  7. b: T