mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 11:44:28 +00:00
16 lines
233 B
Rust
16 lines
233 B
Rust
//@ 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() {}
|