diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2025-09-16 16:11:07 +0200 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2025-09-16 23:39:26 +0200 |
| commit | 2e3fac3626a3edc61eb8afc7c17a19b5fec4b672 (patch) | |
| tree | 256f79320f2518ee454fbfba342c41863685a573 /test/cases/compile_errors/noalias_param_coersion.zig | |
| parent | d5c73a44b796aaaebe748b1a8cb862c7a3dadae1 (diff) | |
| download | zig-2e3fac3626a3edc61eb8afc7c17a19b5fec4b672.tar.gz zig-2e3fac3626a3edc61eb8afc7c17a19b5fec4b672.zip | |
test: rename backend=stage2 to backend=selfhosted, and add backend=auto
backend=auto (now the default if backend is omitted) means to let the compiler
pick whatever backend it wants as the default. This is important for platforms
where we don't yet have a self-hosted backend, such as loongarch64.
Also purge a bunch of redundant target=native.
Diffstat (limited to 'test/cases/compile_errors/noalias_param_coersion.zig')
| -rw-r--r-- | test/cases/compile_errors/noalias_param_coersion.zig | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/cases/compile_errors/noalias_param_coersion.zig b/test/cases/compile_errors/noalias_param_coersion.zig index d927a9dcc9..7704a28b6d 100644 --- a/test/cases/compile_errors/noalias_param_coersion.zig +++ b/test/cases/compile_errors/noalias_param_coersion.zig @@ -11,8 +11,6 @@ fn foo(noalias _: *i32, noalias _: *i32) void {} fn bar(noalias _: *i32, _: *i32) void {} // error -// backend=stage2 -// target=native // // :3:9: error: expected type 'fn (noalias *i32, noalias *i32) void', found 'fn (noalias *i32, *i32) void' // :3:9: note: regular parameter 1 cannot cast into a noalias parameter |
