parent
d0f4a929e0
commit
d94ee75d1c
2 changed files with 11 additions and 1 deletions
10
tests/proc/t8357.nim
Normal file
10
tests/proc/t8357.nim
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
discard """
|
||||
output: "Hello"
|
||||
"""
|
||||
|
||||
type
|
||||
T = ref int
|
||||
|
||||
let r = new(string)
|
||||
r[] = "Hello"
|
||||
echo r[]
|
||||
Loading…
Add table
Add a link
Reference in a new issue