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