mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
32 lines
306 B
Rust
32 lines
306 B
Rust
// run-pass
|
|
// pretty-expanded FIXME #23616
|
|
|
|
#![deny(dead_code)]
|
|
|
|
static _X: usize = 0;
|
|
|
|
fn _foo() {}
|
|
|
|
struct _Y {
|
|
_z: usize,
|
|
}
|
|
|
|
enum _Z {}
|
|
|
|
impl _Y {
|
|
fn _bar() {}
|
|
}
|
|
|
|
type _A = isize;
|
|
|
|
mod _bar {
|
|
fn _qux() {}
|
|
}
|
|
|
|
extern "C" {
|
|
#[link_name = "abort"]
|
|
fn _abort() -> !;
|
|
}
|
|
|
|
pub fn main() {}
|