summary refs log tree commit diff stats
path: root/tests/misc/t8545.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/t8545.nim')
-rw-r--r--tests/misc/t8545.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/misc/t8545.nim b/tests/misc/t8545.nim
index 89957e1d3..48b886cb8 100644
--- a/tests/misc/t8545.nim
+++ b/tests/misc/t8545.nim
@@ -1,5 +1,6 @@
 discard """
-  targets: "c cpp js"
+  # just tests that this doesn't crash the compiler
+  errormsg: "cannot instantiate: 'a:type'"
 """
 
 # bug #8545