about summary refs log tree commit diff
path: root/tests/ui/parser/foreign-ty-syntactic-pass.rs
blob: 50bb68cd83be28460d3895fd6ab83d6c09832ff3 (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>;
}