2019-11-04 00:00:00 +00:00
|
|
|
//@ check-pass
|
2018-09-25 23:51:35 +02:00
|
|
|
#![allow(dead_code)]
|
2015-02-12 10:29:52 -05:00
|
|
|
// Test that we can parse where clauses on various forms of tuple
|
|
|
|
// structs.
|
|
|
|
|
2015-03-22 13:13:15 -07:00
|
|
|
//@ pretty-expanded FIXME #23616
|
|
|
|
|
2015-01-02 04:02:50 -08:00
|
|
|
struct Bar<T>(T) where T: Copy;
|
|
|
|
struct Bleh<T, U>(T, U) where T: Copy, U: Sized;
|
|
|
|
struct Baz<T> where T: Copy {
|
|
|
|
field: T
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|