fix tests in wasm
This commit is contained in:
parent
6594799b2d
commit
ff0b84df58
2 changed files with 8 additions and 6 deletions
|
@ -49,7 +49,7 @@ fn main() {
|
||||||
|
|
||||||
// END RUST SOURCE
|
// END RUST SOURCE
|
||||||
//
|
//
|
||||||
// START rustc.full_tested_match.SimplifyBranches-initial.before.mir
|
// START rustc.full_tested_match.QualifyAndPromoteConstants.after.mir
|
||||||
// bb0: {
|
// bb0: {
|
||||||
// ...
|
// ...
|
||||||
// _2 = std::option::Option<i32>::Some(const 42i32,);
|
// _2 = std::option::Option<i32>::Some(const 42i32,);
|
||||||
|
@ -110,9 +110,9 @@ fn main() {
|
||||||
// ...
|
// ...
|
||||||
// return;
|
// return;
|
||||||
// }
|
// }
|
||||||
// END rustc.full_tested_match.SimplifyBranches-initial.before.mir
|
// END rustc.full_tested_match.QualifyAndPromoteConstants.after.mir
|
||||||
//
|
//
|
||||||
// START rustc.full_tested_match2.SimplifyBranches-initial.before.mir
|
// START rustc.full_tested_match2.QualifyAndPromoteConstants.before.mir
|
||||||
// bb0: {
|
// bb0: {
|
||||||
// ...
|
// ...
|
||||||
// _2 = std::option::Option<i32>::Some(const 42i32,);
|
// _2 = std::option::Option<i32>::Some(const 42i32,);
|
||||||
|
@ -173,9 +173,9 @@ fn main() {
|
||||||
// ...
|
// ...
|
||||||
// return;
|
// return;
|
||||||
// }
|
// }
|
||||||
// END rustc.full_tested_match2.SimplifyBranches-initial.before.mir
|
// END rustc.full_tested_match2.QualifyAndPromoteConstants.before.mir
|
||||||
//
|
//
|
||||||
// START rustc.main.SimplifyBranches-initial.before.mir
|
// START rustc.main.QualifyAndPromoteConstants.before.mir
|
||||||
// bb0: {
|
// bb0: {
|
||||||
// ...
|
// ...
|
||||||
// _2 = std::option::Option<i32>::Some(const 1i32,);
|
// _2 = std::option::Option<i32>::Some(const 1i32,);
|
||||||
|
@ -252,4 +252,4 @@ fn main() {
|
||||||
// ...
|
// ...
|
||||||
// return;
|
// return;
|
||||||
// }
|
// }
|
||||||
// END rustc.main.SimplifyBranches-initial.before.mir
|
// END rustc.main.QualifyAndPromoteConstants.before.mir
|
||||||
|
|
|
@ -9,6 +9,8 @@
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
// ignore-tidy-linelength
|
// ignore-tidy-linelength
|
||||||
|
// ignore-wasm32-bare unwinding being disabled causes differences in output
|
||||||
|
// ignore-wasm64-bare unwinding being disabled causes differences in output
|
||||||
// compile-flags: -Z verbose -Z mir-emit-validate=1
|
// compile-flags: -Z verbose -Z mir-emit-validate=1
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue