diff options
author | Clyybber <darkmine956@gmail.com> | 2020-07-10 19:21:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-10 19:21:50 +0200 |
commit | 425972c4e8bde84ff8b84a64f1e68356dc0a1a3a (patch) | |
tree | 2f0bb288b92656e5cb2c1be216c26b05836d2e56 /tests/ccgbugs | |
parent | 1850efbb6c618946da7c943b153f7caa9a66ba33 (diff) | |
download | Nim-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.nim | 18 |
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 |