Skip to content

Commit 5b7e669

Browse files
committed
loongarch tests need LLVM version 20 to avoid warnings
1 parent 240cc10 commit 5b7e669

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/ui/target-feature/abi-required-target-feature-flag-disable.rs

+2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@
1010
//@[aarch64] needs-llvm-components: aarch64
1111
//@[riscv] compile-flags: --target=riscv64gc-unknown-none-elf -Ctarget-feature=-d
1212
//@[riscv] needs-llvm-components: riscv
13+
//@[riscv] min-llvm-version: 20
1314
//@[loongarch] compile-flags: --target=loongarch64-unknown-none -Ctarget-feature=-d
1415
//@[loongarch] needs-llvm-components: loongarch
16+
//@[loongarch] min-llvm-version: 20
1517
// For now this is just a warning.
1618
//@ build-pass
1719

0 commit comments

Comments
 (0)