rust/tests/crashes/121176.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
167 B
Rust
Raw Normal View History

2024-11-08 20:32:40 +00:00
//@ known-bug: #121176
//@ needs-rustc-debug-assertions
use std::fmt::Debug;
static STATIC_1: dyn Debug + Sync = *();
fn main() {
println!("{:?}", &STATIC_1);
}