summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/trait-item-with-defaultness-pass.rs
blob: a6318bd99e2f6810fd34bd13ca72557239f12dec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// check-pass

fn main() {}

#[cfg(FALSE)]
trait X {
    default const A: u8;
    default const B: u8 = 0;
    default type D;
    default type C: Ord;
    default fn f1();
    default fn f2() {}
}