Nim/tests/proc/t8357.nim
2018-08-22 15:49:43 +02:00

10 lines
98 B
Nim

discard """
output: "Hello"
"""
type
T = ref int
let r = new(string)
r[] = "Hello"
echo r[]