]>
Commit | Line | Data |
---|---|---|
8bb4bdeb | 1 | // Copyright 2017 The Rust Project Developers. See the COPYRIGHT |
223e47cc LB |
2 | // file at the top-level directory of this distribution and at |
3 | // http://rust-lang.org/COPYRIGHT. | |
4 | // | |
5 | // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or | |
6 | // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license | |
7 | // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your | |
8 | // option. This file may not be copied, modified, or distributed | |
9 | // except according to those terms. | |
10 | ||
0bf4aa26 XL |
11 | #![allow(path_statements)] |
12 | #![allow(dead_code)] | |
abe05a73 XL |
13 | macro_rules! auto { |
14 | () => (struct S;) | |
15 | } | |
16 | ||
17 | auto!(); | |
18 | ||
19 | fn auto() {} | |
20 | ||
7453a54e | 21 | fn main() { |
abe05a73 XL |
22 | auto(); |
23 | let auto = 10; | |
24 | auto; | |
25 | auto as u8; | |
223e47cc | 26 | } |