2012-01-15 17:23:59 -08: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 11:36:43 +03:00
|
|
|
// pp-exact
|
|
|
|
|
|
|
|
#![feature(rustc_attrs)]
|
2015-02-17 19:00:20 -08:00
|
|
|
|
2012-01-15 17:23:59 -08:00
|
|
|
fn main() {
|
2019-06-08 11:36:43 +03:00
|
|
|
#![rustc_dummy]
|
|
|
|
#[rustc_dummy]
|
2021-12-28 12:26:18 -08:00
|
|
|
fn f() {}
|
2012-01-15 17:23:59 -08:00
|
|
|
|
2019-06-08 11:36:43 +03:00
|
|
|
#[rustc_dummy]
|
2021-12-28 12:26:18 -08:00
|
|
|
fn g() {}
|
2012-01-15 17:23:59 -08:00
|
|
|
}
|