summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/foreign-ty-syntactic-pass.rs
blob: a746de1f14f4da082df949c3c361cbb7fe6a9216 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// check-pass

fn main() {}

#[cfg(FALSE)]
extern "C" {
    type A: Ord;
    type A<'a> where 'a: 'static;
    type A<T: Ord> where T: 'static;
    type A = u8;
    type A<'a: 'static, T: Ord + 'static>: Eq + PartialEq where T: 'static + Copy = Vec<u8>;
}