Skip to content

Commit 4aafecb

Browse files
committed
Simplify check for unsupported architectures
1 parent 7677ff2 commit 4aafecb

6 files changed

+2
-10
lines changed

tests/ui/abi/fixed_x18.arm.stderr

-2
This file was deleted.

tests/ui/abi/fixed_x18.i686.stderr

-2
This file was deleted.

tests/ui/abi/fixed_x18.riscv32.stderr

-2
This file was deleted.

tests/ui/abi/fixed_x18.riscv64.stderr

-2
This file was deleted.

tests/ui/abi/fixed_x18.rs

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// Behavior on aarch64 is tested by tests/codegen/fixed-x18.rs.
33
//
44
//@ revisions: x64 i686 arm riscv32 riscv64
5+
//@ error-pattern: the `-Zfixed-x18` flag is not supported
6+
//@ dont-check-compiler-stderr
57
//
68
//@ compile-flags: -Zfixed-x18
79
//@ [x64] needs-llvm-components: x86

tests/ui/abi/fixed_x18.x64.stderr

-2
This file was deleted.

0 commit comments

Comments
 (0)