summary refs log tree commit diff stats
path: root/tests/errmsgs/t10594.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/errmsgs/t10594.nim')
-rw-r--r--tests/errmsgs/t10594.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/errmsgs/t10594.nim b/tests/errmsgs/t10594.nim
index c9506c542..d27dd6433 100644
--- a/tests/errmsgs/t10594.nim
+++ b/tests/errmsgs/t10594.nim
@@ -3,5 +3,5 @@ discard """
   line: 7
 """
 
-template foo(v: varargs[int]) = unsafeAddr v 
+template foo(v: varargs[int]) = addr v 
 foo(1, 2)