diff options
Diffstat (limited to 'tests/errmsgs/t19882_2.nim')
-rw-r--r-- | tests/errmsgs/t19882_2.nim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/errmsgs/t19882_2.nim b/tests/errmsgs/t19882_2.nim new file mode 100644 index 000000000..7f3055a5d --- /dev/null +++ b/tests/errmsgs/t19882_2.nim @@ -0,0 +1,5 @@ +discard """ + errormsg: "cannot instantiate: 'A[T]'; the object's generic parameters cannot be inferred and must be explicitly given" +""" +type A[T] = object +var a = A() \ No newline at end of file |