summary refs log tree commit diff stats
path: root/tests/run/tcgbug.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run/tcgbug.nim')
-rwxr-xr-xtests/run/tcgbug.nim23
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"
-