2019-07-26 16:54:25 -05:00
|
|
|
// run-pass
|
2015-03-22 15:13:15 -05:00
|
|
|
// pretty-expanded FIXME #23616
|
|
|
|
|
2014-08-03 01:40:06 -05:00
|
|
|
#![deny(dead_code)]
|
|
|
|
|
2015-03-25 19:06:52 -05:00
|
|
|
static _X: usize = 0;
|
2014-08-03 01:40:06 -05:00
|
|
|
|
|
|
|
fn _foo() {}
|
|
|
|
|
|
|
|
struct _Y {
|
2015-03-25 19:06:52 -05:00
|
|
|
_z: usize
|
2014-08-03 01:40:06 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
enum _Z {}
|
|
|
|
|
|
|
|
impl _Y {
|
|
|
|
fn _bar() {}
|
|
|
|
}
|
|
|
|
|
2015-03-25 19:06:52 -05:00
|
|
|
type _A = isize;
|
2014-08-03 01:40:06 -05:00
|
|
|
|
|
|
|
mod _bar {
|
|
|
|
fn _qux() {}
|
|
|
|
}
|
|
|
|
|
|
|
|
extern {
|
|
|
|
#[link_name = "abort"]
|
|
|
|
fn _abort() -> !;
|
|
|
|
}
|
|
|
|
|
2014-08-02 07:41:40 -05:00
|
|
|
pub fn main() {}
|