]>
Commit | Line | Data |
---|---|---|
223e47cc LB |
1 | // Testing that both the inner item and next outer item are |
2 | // preserved, and that the first outer item parsed in main is not | |
3 | // accidentally carried over to each inner function | |
4 | ||
dc9dc135 XL |
5 | // pp-exact |
6 | ||
7 | #![feature(rustc_attrs)] | |
85aaf69f | 8 | |
223e47cc | 9 | fn main() { |
dc9dc135 XL |
10 | #![rustc_dummy] |
11 | #[rustc_dummy] | |
223e47cc LB |
12 | fn f() { } |
13 | ||
dc9dc135 | 14 | #[rustc_dummy] |
223e47cc LB |
15 | fn g() { } |
16 | } |