summary refs log tree commit diff stats
path: root/tests/compiles/t8630.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/compiles/t8630.nim')
-rw-r--r--tests/compiles/t8630.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/compiles/t8630.nim b/tests/compiles/t8630.nim
index aa2be11cd..8b447d061 100644
--- a/tests/compiles/t8630.nim
+++ b/tests/compiles/t8630.nim
@@ -7,7 +7,7 @@ bar
 
 proc test(strings: seq[string]) =
   for s in strings:
-    var p3 = unsafeAddr(s)
+    var p3 = addr(s)
     echo p3[]
 
 test(@["foo", "bar"])