summary refs log tree commit diff stats
path: root/tests/ccgbugs
diff options
context:
space:
mode:
authorClyybber <darkmine956@gmail.com>2020-07-10 19:21:50 +0200
committerGitHub <noreply@github.com>2020-07-10 19:21:50 +0200
commit425972c4e8bde84ff8b84a64f1e68356dc0a1a3a (patch)
tree2f0bb288b92656e5cb2c1be216c26b05836d2e56 /tests/ccgbugs
parent1850efbb6c618946da7c943b153f7caa9a66ba33 (diff)
downloadNim-425972c4e8bde84ff8b84a64f1e68356dc0a1a3a.tar.gz
Add testcase for some old fixed issues (#14960)
* Add testcase for #2703

* Add testcase for #2586

* Small fix
Diffstat (limited to 'tests/ccgbugs')
-rw-r--r--tests/ccgbugs/trecursive_closure.nim18
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/ccgbugs/trecursive_closure.nim b/tests/ccgbugs/trecursive_closure.nim
deleted file mode 100644
index 4b6514b90..000000000
--- a/tests/ccgbugs/trecursive_closure.nim
+++ /dev/null
@@ -1,18 +0,0 @@
-discard """
-action: compile
-"""
-
-# bug #2233
-type MalType = object
-  fun: proc: MalType
-
-proc f(x: proc: MalType) =
-  discard x()
-
-f(nil)
-
-# bug #2823
-
-type A = object #of RootObj <-- Uncomment this to get no errors
-  test: proc(i: A): bool
-var a: proc(i: A): bool # Or comment this line to get no errors