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