Fix invalid_const_promotion test on some archs
On at least AArch64 `llvm.trap` raises SIGTRAP.
This commit is contained in:
parent
de9666f123
commit
01e0d23d66
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ fn check_status(status: std::process::ExitStatus)
|
|||
use std::os::unix::process::ExitStatusExt;
|
||||
|
||||
assert!(status.signal() == Some(libc::SIGILL)
|
||||
|| status.signal() == Some(libc::SIGTRAP)
|
||||
|| status.signal() == Some(libc::SIGABRT));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue