]> git.lizzy.rs Git - rust.git/blob - tests/ui/panics/issue-47429-short-backtraces.rs
Rollup merge of #106570 - Xaeroxe:div-duration-tests, r=JohnTitor
[rust.git] / tests / ui / panics / issue-47429-short-backtraces.rs
1 // Regression test for #47429: short backtraces were not terminating correctly
2
3 // compile-flags: -O
4 // compile-flags:-Cstrip=none
5 // run-fail
6 // check-run-results
7 // exec-env:RUST_BACKTRACE=1
8
9 // ignore-msvc see #62897 and `backtrace-debuginfo.rs` test
10 // ignore-android FIXME #17520
11 // ignore-openbsd no support for libbacktrace without filename
12 // ignore-wasm no panic or subprocess support
13 // ignore-emscripten no panic or subprocess support
14 // ignore-sgx no subprocess support
15 // ignore-fuchsia Backtraces not symbolized
16
17 // NOTE(eddyb) output differs between symbol mangling schemes
18 // revisions: legacy v0
19 // [legacy] compile-flags: -Zunstable-options -Csymbol-mangling-version=legacy
20 //     [v0] compile-flags: -Csymbol-mangling-version=v0
21
22 fn main() {
23     panic!()
24 }