2018-10-20 16:02:06 -05:00
|
|
|
// compile-pass
|
2017-04-04 17:12:53 -05:00
|
|
|
// compile-flags: -Z parse-only
|
|
|
|
|
|
|
|
fn f<T: (Copy) + (?Sized) + (for<'a> Trait<'a>)>() {}
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
let _: Box<(Copy) + (?Sized) + (for<'a> Trait<'a>)>;
|
|
|
|
let _: Box<(?Sized) + (for<'a> Trait<'a>) + (Copy)>;
|
|
|
|
let _: Box<(for<'a> Trait<'a>) + (Copy) + (?Sized)>;
|
|
|
|
}
|