summary refs log tree commit diff stats
path: root/tests/effects/teffects1.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/effects/teffects1.nim')
-rw-r--r--tests/effects/teffects1.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/effects/teffects1.nim b/tests/effects/teffects1.nim
index 767845cb4..8f827110c 100644
--- a/tests/effects/teffects1.nim
+++ b/tests/effects/teffects1.nim
@@ -1,10 +1,10 @@
 discard """
   errormsg: "can raise an unlisted exception: ref IOError"
-  file: "system.nim"
+  file: "io.nim"
 """
 
 type
-  TObj = object {.pure, inheritable.}
+  TObj {.pure, inheritable.} = object
   TObjB = object of TObj
     a, b, c: string