diff options
Diffstat (limited to 'tests/run/tcgbug.nim')
-rwxr-xr-x | tests/run/tcgbug.nim | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/tests/run/tcgbug.nim b/tests/run/tcgbug.nim deleted file mode 100755 index 417b909ae..000000000 --- a/tests/run/tcgbug.nim +++ /dev/null @@ -1,23 +0,0 @@ -discard """ - file: "tcgbug.nim" - output: "success" -""" - -type - TObj = object - x, y: int - PObj = ref TObj - -proc p(a: PObj) = - a.x = 0 - -proc q(a: var PObj) = - a.p() - -var - a: PObj -new(a) -q(a) - -echo "success" - |