about summary refs log tree commit diff
path: root/tests/crashes/123887.rs
blob: 68e2fb0325c3d62dbfd02eb565d1989dcc449097 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//@ 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() {}