diff options
author | Andrey R (cooldome) <ariabushenko@gmail.com> | 2020-11-17 18:54:14 +0000 |
---|---|---|
committer | Andrey R (cooldome) <ariabushenko@gmail.com> | 2020-11-17 18:54:14 +0000 |
commit | 1663ad77e3398fec0b5d6b00516f91565ce12cce (patch) | |
tree | 373e56a6d724f7a8ff7022d748edc2a20c317739 /tests/ccgbugs | |
parent | 0f7f159a35bc10a43ff15bcb6c20eefdc574138e (diff) | |
download | Nim-1663ad77e3398fec0b5d6b00516f91565ce12cce.tar.gz |
Revert "fix #15623 (#16009)"
This reverts commit 0f7f159a35bc10a43ff15bcb6c20eefdc574138e.
Diffstat (limited to 'tests/ccgbugs')
-rw-r--r-- | tests/ccgbugs/t15623.nim | 11 | ||||
-rw-r--r-- | tests/ccgbugs/t15623_2.nim | 13 |
2 files changed, 0 insertions, 24 deletions
diff --git a/tests/ccgbugs/t15623.nim b/tests/ccgbugs/t15623.nim deleted file mode 100644 index c8246c85b..000000000 --- a/tests/ccgbugs/t15623.nim +++ /dev/null @@ -1,11 +0,0 @@ -discard """ - action: "compile" -""" - -# bug #15623 -block: - echo cast[ptr int](nil)[] - -block: - var x: ref int = nil - echo cast[ptr int](x)[] diff --git a/tests/ccgbugs/t15623_2.nim b/tests/ccgbugs/t15623_2.nim deleted file mode 100644 index 4f33bc745..000000000 --- a/tests/ccgbugs/t15623_2.nim +++ /dev/null @@ -1,13 +0,0 @@ -discard """ - output: '''0 -0 -''' -""" - -# bug #15623 -block: - echo cast[int](cast[ptr int](nil)) - -block: - var x: ref int = nil - echo cast[int](cast[ptr int](x)) |