2012-01-15 19:23:59 -06:00
|
|
|
// Testing that both the inner item and next outer item are
|
|
|
|
// preserved, and that the first outer item parsed in main is not
|
|
|
|
// accidentally carried over to each inner function
|
|
|
|
|
2019-06-08 03:36:43 -05:00
|
|
|
//@ pp-exact
|
|
|
|
|
|
|
|
#![feature(rustc_attrs)]
|
2015-02-17 21:00:20 -06:00
|
|
|
|
2012-01-15 19:23:59 -06:00
|
|
|
fn main() {
|
2019-06-08 03:36:43 -05:00
|
|
|
#![rustc_dummy]
|
|
|
|
#[rustc_dummy]
|
2021-12-28 14:26:18 -06:00
|
|
|
fn f() {}
|
2012-01-15 19:23:59 -06:00
|
|
|
|
2019-06-08 03:36:43 -05:00
|
|
|
#[rustc_dummy]
|
2021-12-28 14:26:18 -06:00
|
|
|
fn g() {}
|
2012-01-15 19:23:59 -06:00
|
|
|
}
|