summaryrefslogtreecommitdiffstats
path: root/src/test/ui/traits/composition-trivial.rs
blob: 90e5dcd68e8c4ad1a2fa88f1cc4af1a74f7fe7e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// run-pass
// pretty-expanded FIXME #23616

trait Foo {
    fn foo(&self);
}

trait Bar : Foo {
    fn bar(&self);
}

pub fn main() {}