about summary refs log tree commit diff
path: root/src/test/ui/issues/issue-17904.rs
blob: d916abb9c73846a67e5882f209574a3259d307b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// build-pass (FIXME(62277): could be check-pass?)
#![allow(dead_code)]
// Test that we can parse where clauses on various forms of tuple
// structs.

// pretty-expanded FIXME #23616

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() {}