diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/metatype/ttypedesc2.nim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/metatype/ttypedesc2.nim b/tests/metatype/ttypedesc2.nim index 37399784b..89c38f367 100644 --- a/tests/metatype/ttypedesc2.nim +++ b/tests/metatype/ttypedesc2.nim @@ -72,3 +72,8 @@ proc testObj(typ: typedesc[object]): Y[typ] = discard discard testObj(X) + + +#bug 12804 +import typetraits +discard int.name[0] \ No newline at end of file |