add some debug-assertion crash tests
This commit is contained in:
parent
f415c07494
commit
716d99c3ff
10 changed files with 146 additions and 0 deletions
9
tests/crashes/121176.rs
Normal file
9
tests/crashes/121176.rs
Normal file
|
@ -0,0 +1,9 @@
|
|||
//@ known-bug: #121176
|
||||
//@ needs-rustc-debug-assertions
|
||||
use std::fmt::Debug;
|
||||
|
||||
static STATIC_1: dyn Debug + Sync = *();
|
||||
|
||||
fn main() {
|
||||
println!("{:?}", &STATIC_1);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue