aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/eval.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-08-28 15:35:59 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-09-01 17:54:06 -0700
commit332eafeb7f3d866556ab767b960a04661bc43bc7 (patch)
treed299cbc233ca756ca42885e66f54e2b08f2a3d9a /test/behavior/eval.zig
parentc05a20fc8c36742dab8792d15e79716da1a55759 (diff)
downloadzig-332eafeb7f3d866556ab767b960a04661bc43bc7.tar.gz
zig-332eafeb7f3d866556ab767b960a04661bc43bc7.zip
stage2: first pass at implementing usingnamespace
Ran into a design flaw here which will need to get solved by having AstGen annotate ZIR with which instructions are closed over.
Diffstat (limited to 'test/behavior/eval.zig')
-rw-r--r--test/behavior/eval.zig6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/behavior/eval.zig b/test/behavior/eval.zig
index 1b6540cd32..0d103bc49a 100644
--- a/test/behavior/eval.zig
+++ b/test/behavior/eval.zig
@@ -125,12 +125,6 @@ test "pointer to type" {
}
}
-test "no undeclared identifier error in unanalyzed branches" {
- if (false) {
- lol_this_doesnt_exist = nonsense;
- }
-}
-
test "a type constructed in a global expression" {
var l: List = undefined;
l.array[0] = 10;