t19882_2.nim 168 B

12345
  1. discard """
  2. errormsg: "cannot instantiate: 'A[T]'; the object's generic parameters cannot be inferred and must be explicitly given"
  3. """
  4. type A[T] = object
  5. var a = A()