]> git.lizzy.rs Git - rust.git/blob - src/test/pretty/attr-fn-inner.rs
Add 'src/tools/miri/' from commit '75dd959a3a40eb5b4574f8d2e23aa6efbeb33573'
[rust.git] / src / test / pretty / attr-fn-inner.rs
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
5 // pp-exact
6
7 #![feature(rustc_attrs)]
8
9 fn main() {
10     #![rustc_dummy]
11     #[rustc_dummy]
12     fn f() {}
13
14     #[rustc_dummy]
15     fn g() {}
16 }