Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
28
tests/ui/attributes/method-attributes.rs
Normal file
28
tests/ui/attributes/method-attributes.rs
Normal file
|
@ -0,0 +1,28 @@
|
|||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// pp-exact - Make sure we print all the attributes
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
#![feature(rustc_attrs)]
|
||||
|
||||
#[rustc_dummy]
|
||||
trait Frobable {
|
||||
#[rustc_dummy]
|
||||
fn frob(&self);
|
||||
#[rustc_dummy]
|
||||
fn defrob(&self);
|
||||
}
|
||||
|
||||
#[rustc_dummy]
|
||||
impl Frobable for isize {
|
||||
#[rustc_dummy]
|
||||
fn frob(&self) {
|
||||
#![rustc_dummy]
|
||||
}
|
||||
|
||||
#[rustc_dummy]
|
||||
fn defrob(&self) {
|
||||
#![rustc_dummy]
|
||||
}
|
||||
}
|
||||
|
||||
fn main() {}
|
Loading…
Add table
Add a link
Reference in a new issue