1
Fork 0

add some debug-assertion crash tests

This commit is contained in:
Matthias Krüger 2024-11-08 21:32:40 +01:00
parent f415c07494
commit 716d99c3ff
10 changed files with 146 additions and 0 deletions

9
tests/crashes/121176.rs Normal file
View 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);
}