mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
19 lines
201 B
Rust
19 lines
201 B
Rust
// run-pass
|
|
|
|
#![allow(path_statements)]
|
|
#![allow(dead_code)]
|
|
macro_rules! auto {
|
|
() => (struct S;)
|
|
}
|
|
|
|
auto!();
|
|
|
|
fn auto() {}
|
|
|
|
fn main() {
|
|
auto();
|
|
let auto = 10;
|
|
auto;
|
|
auto as u8;
|
|
}
|