Skip to content

Commit e426a60

Browse files
authored
Unrolled build for #156195
Rollup merge of #156195 - danieljofficial:move-tests-codegen, r=JohnTitor Move tests codegen Hi, I have moved some tests into the codegen folder
2 parents e95e732 + 769c3a9 commit e426a60

6 files changed

Lines changed: 9 additions & 2 deletions

tests/ui/issues/issue-34427.rs renamed to tests/ui/codegen/arm-collect-into-vec-codegen-regression.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//@ run-pass
2-
// Issue #34427: On ARM, the code in `foo` at one time was generating
2+
// Issue https://github.com/rust-lang/rust/issues/34427: On ARM, the code in `foo` at one time was generating
33
// a machine code instruction of the form: `str r0, [r0, rN]!` (for
44
// some N), which is not legal because the source register and base
55
// register cannot be identical in the preindexed form signalled by

tests/ui/issues/issue-36856.rs renamed to tests/ui/codegen/bool-negation-with-debug-info.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//@ run-pass
2-
// Regression test for #36856.
2+
// Regression test for https://github.com/rust-lang/rust/issues/36856
33

44
//@ compile-flags:-g
55

tests/ui/issues/issue-20644.rs renamed to tests/ui/codegen/codegen-binder-not-ignored-in-generic-fn.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//! Regression test for https://github.com/rust-lang/rust/issues/20644
2+
13
//@ build-pass
24
#![allow(dead_code)]
35
#![allow(unused_imports)]

tests/ui/issues/issue-41696.rs renamed to tests/ui/codegen/no-codegen-blowup-in-deeply-nested-struct.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//! Regression test for https://github.com/rust-lang/rust/issues/41696
2+
13
//@ run-pass
24
#![allow(dead_code)]
35
#![allow(unused_variables)]

tests/ui/issues/issue-50761.rs renamed to tests/ui/codegen/no-divide-by-zero-in-llvm-type.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Regression test for https://github.com/rust-lang/rust/issues/50761
12
// Confirm that we don't accidentally divide or mod by zero in llvm_type
23

34
//@ build-pass

tests/ui/issues/issue-47364.rs renamed to tests/ui/codegen/no-segfault-with-multiple-codegen-units.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//! Regression test for https://github.com/rust-lang/rust/issues/47364
2+
13
//@ run-pass
24
#![allow(unused_variables)]
35
//@ compile-flags: -C codegen-units=8 -O

0 commit comments

Comments
 (0)