summary refs log tree commit diff stats
path: root/tests/ccgbugs/taddhigh.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ccgbugs/taddhigh.nim')
-rw-r--r--tests/ccgbugs/taddhigh.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ccgbugs/taddhigh.nim b/tests/ccgbugs/taddhigh.nim
index 549eb8caa..6b0658612 100644
--- a/tests/ccgbugs/taddhigh.nim
+++ b/tests/ccgbugs/taddhigh.nim
@@ -14,6 +14,6 @@ s.add x
 s.add s[s.high]
 
 s.add s[s.len-1]
-s.add s[s.xlen-1]
+s.add s[s.len-1]
 
 echo s # @[5, 5, 0]