Skip to content

Commit ff699ce

Browse files
committed
fix: running the test only on x86_64.
The test was failing on aarch64-apple-darwin.
1 parent 6948343 commit ff699ce

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Diff for: tests/ui/simd/empty-simd-vector-in-operand.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Regression test for issue #134224.
2+
//@ only-x86_64
23

34
#![feature(repr_simd)]
45

Diff for: tests/ui/simd/empty-simd-vector-in-operand.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
error[E0075]: SIMD vector cannot be empty
2-
--> $DIR/empty-simd-vector-in-operand.rs:6:1
2+
--> $DIR/empty-simd-vector-in-operand.rs:7:1
33
|
44
LL | struct A();
55
| ^^^^^^^^
66

77
error: use of empty SIMD vector `A`
8-
--> $DIR/empty-simd-vector-in-operand.rs:11:43
8+
--> $DIR/empty-simd-vector-in-operand.rs:12:43
99
|
1010
LL | std::arch::asm!("{}", in(xmm_reg) A());
1111
| ^^^

0 commit comments

Comments
 (0)