aboutsummaryrefslogtreecommitdiff
path: root/test/cases/safety/pointer casting to null function pointer.zig
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2025-02-13 17:09:21 -0500
committerJacob Young <jacobly0@users.noreply.github.com>2025-02-15 03:45:21 -0500
commit8159ff8b811a1621674b0f00a01b5a92698af8f9 (patch)
tree273c5d568004ec6d40e0d35919ddf81533e54dcd /test/cases/safety/pointer casting to null function pointer.zig
parent5ab5113077bf82237978168b32e2b549a4a71feb (diff)
downloadzig-8159ff8b811a1621674b0f00a01b5a92698af8f9.tar.gz
zig-8159ff8b811a1621674b0f00a01b5a92698af8f9.zip
x86_64: implement error set and enum safety
This is all of the expected 0.14.0 progress on #21530, which can now be postponed once this commit is merged. This required rewriting the (un)wrap operations since the original implementations were extremely buggy. Also adds an easy way to retrigger Sema OPV bugs so that I don't have to keep updating #22419 all the time.
Diffstat (limited to 'test/cases/safety/pointer casting to null function pointer.zig')
-rw-r--r--test/cases/safety/pointer casting to null function pointer.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cases/safety/pointer casting to null function pointer.zig b/test/cases/safety/pointer casting to null function pointer.zig
index 8f399b66dc..a57e71cb8f 100644
--- a/test/cases/safety/pointer casting to null function pointer.zig
+++ b/test/cases/safety/pointer casting to null function pointer.zig
@@ -19,5 +19,5 @@ pub fn main() !void {
}
// run
-// backend=llvm
+// backend=stage2,llvm
// target=native