File tree 4 files changed +4
-4
lines changed
src/tools/miri/tests/fail/panic
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
//@error-in-other-file: the program aborted execution
2
2
//@normalize-stderr-test: "\| +\^+" -> "| ^"
3
- //@normalize-stderr-test: "libc::abort\(\);|core::intrinsics::abort\(\);" -> "ABORT();"
3
+ //@normalize-stderr-test: "unsafe \{ libc::abort\(\); \} |core::intrinsics::abort\(\);" -> "ABORT();"
4
4
//@compile-flags: -C panic=abort
5
5
6
6
fn main ( ) {
Original file line number Diff line number Diff line change 1
1
//@error-in-other-file: the program aborted execution
2
2
//@normalize-stderr-test: "\| +\^+" -> "| ^"
3
- //@normalize-stderr-test: "libc::abort\(\);|core::intrinsics::abort\(\);" -> "ABORT();"
3
+ //@normalize-stderr-test: "unsafe \{ libc::abort\(\); \} |core::intrinsics::abort\(\);" -> "ABORT();"
4
4
//@compile-flags: -C panic=abort
5
5
6
6
fn main ( ) {
Original file line number Diff line number Diff line change 1
1
//@error-in-other-file: the program aborted execution
2
2
//@normalize-stderr-test: "\| +\^+" -> "| ^"
3
- //@normalize-stderr-test: "libc::abort\(\);|core::intrinsics::abort\(\);" -> "ABORT();"
3
+ //@normalize-stderr-test: "unsafe \{ libc::abort\(\); \} |core::intrinsics::abort\(\);" -> "ABORT();"
4
4
//@compile-flags: -C panic=abort
5
5
6
6
fn main ( ) {
Original file line number Diff line number Diff line change 1
1
//@error-in-other-file: the program aborted execution
2
2
//@normalize-stderr-test: "\| +\^+" -> "| ^"
3
- //@normalize-stderr-test: "libc::abort\(\);|core::intrinsics::abort\(\);" -> "ABORT();"
3
+ //@normalize-stderr-test: "unsafe \{ libc::abort\(\); \} |core::intrinsics::abort\(\);" -> "ABORT();"
4
4
//@compile-flags: -C panic=abort
5
5
6
6
fn main ( ) {
You can’t perform that action at this time.
0 commit comments