blob: 1afc334dfd816b974c57088387f7a91cbec8d008 [file] [log] [blame]
//! Regression test for https://github.com/rust-lang/rust/issues/15043
//@ run-pass
#![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);
}