aboutsummaryrefslogtreecommitdiff
path: root/test/incremental/binary_operands.24.zig
diff options
context:
space:
mode:
authorJakub Konka <kubkon@jakubkonka.com>2022-04-29 08:24:02 +0200
committerGitHub <noreply@github.com>2022-04-29 08:24:02 +0200
commit3b8187072fc76966da9d9ab1a6a0ecd7aff4e090 (patch)
treea998ecb0837408b309851b558b7eb5f2d5d42dbe /test/incremental/binary_operands.24.zig
parentfda143d5d81da852af73386a2100e18784bd0d3c (diff)
parentd25f06a71c058aa4ff8bf40749345028bda6e017 (diff)
downloadzig-3b8187072fc76966da9d9ab1a6a0ecd7aff4e090.tar.gz
zig-3b8187072fc76966da9d9ab1a6a0ecd7aff4e090.zip
Merge pull request #11530 from ziglang/test-harness
test: move compare and run tests to new test harness
Diffstat (limited to 'test/incremental/binary_operands.24.zig')
-rw-r--r--test/incremental/binary_operands.24.zig9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/incremental/binary_operands.24.zig b/test/incremental/binary_operands.24.zig
new file mode 100644
index 0000000000..08dc4430a2
--- /dev/null
+++ b/test/incremental/binary_operands.24.zig
@@ -0,0 +1,9 @@
+pub fn main() void {
+ var b: bool = false;
+ b = b and true;
+ if (b) unreachable;
+ return;
+}
+
+// run
+//