2019-06-08 14:42:58 +00:00
|
|
|
// compile-pass
|
2012-01-30 19:43:45 +00:00
|
|
|
// pp-exact - Make sure we print all the attributes
|
2015-03-22 20:13:15 +00:00
|
|
|
// pretty-expanded FIXME #23616
|
|
|
|
|
2019-06-08 08:36:43 +00:00
|
|
|
#![feature(rustc_attrs)]
|
2012-01-30 19:43:45 +00:00
|
|
|
|
2019-06-08 08:36:43 +00:00
|
|
|
#[rustc_dummy]
|
|
|
|
trait Frobable {
|
|
|
|
#[rustc_dummy]
|
2013-03-13 02:32:14 +00:00
|
|
|
fn frob(&self);
|
2019-06-08 08:36:43 +00:00
|
|
|
#[rustc_dummy]
|
2013-03-13 02:32:14 +00:00
|
|
|
fn defrob(&self);
|
2012-01-30 19:43:45 +00:00
|
|
|
}
|
|
|
|
|
2019-06-08 08:36:43 +00:00
|
|
|
#[rustc_dummy]
|
|
|
|
impl Frobable for isize {
|
|
|
|
#[rustc_dummy]
|
2013-03-13 02:32:14 +00:00
|
|
|
fn frob(&self) {
|
2019-06-08 08:36:43 +00:00
|
|
|
#![rustc_dummy]
|
2012-01-30 19:43:45 +00:00
|
|
|
}
|
|
|
|
|
2019-06-08 08:36:43 +00:00
|
|
|
#[rustc_dummy]
|
2013-03-13 02:32:14 +00:00
|
|
|
fn defrob(&self) {
|
2019-06-08 08:36:43 +00:00
|
|
|
#![rustc_dummy]
|
2012-01-30 19:43:45 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-06-08 08:36:43 +00:00
|
|
|
fn main() {}
|