summary refs log tree commit diff stats
path: root/tests/ccgbugs/targ_lefttoright.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ccgbugs/targ_lefttoright.nim')
-rw-r--r--tests/ccgbugs/targ_lefttoright.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ccgbugs/targ_lefttoright.nim b/tests/ccgbugs/targ_lefttoright.nim
index a49b87739..a0adce157 100644
--- a/tests/ccgbugs/targ_lefttoright.nim
+++ b/tests/ccgbugs/targ_lefttoright.nim
@@ -29,7 +29,7 @@ template test =
   var b = 1
   say (b += 1; b), (b += 1; b) #2,3
 
-  type C = object {.byRef.}
+  type C {.byRef.} = object
     i: int
 
   proc say(a, b: C) =