summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-15043.rs
blob: 53748be8a02f7195e83a2baf0fac800b2a57a4d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// run-pass
// pretty-expanded FIXME #23616

#![allow(warnings)]

struct S<T>(T);

static s1: S<S<usize>>=S(S(0));
static s2: S<usize>=S(0);

fn main() {
    let foo: S<S<usize>>=S(S(0));
    let foo: S<usize>=S(0);
}