rust/tests/crashes/123887.rs

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

16 lines
233 B
Rust
Raw Normal View History

//@ known-bug: rust-lang/rust#123887
//@ compile-flags: -Clink-dead-code
#![feature(extern_types)]
#![feature(unsized_fn_params)]
extern "C" {
pub type ExternType;
}
impl ExternType {
pub fn f(self) {}
}
pub fn main() {}