2018-08-30 14:18:55 +02:00
|
|
|
// run-pass
|
2015-03-22 13:13:15 -07:00
|
|
|
// pretty-expanded FIXME #23616
|
|
|
|
|
2014-06-20 09:53:12 -07:00
|
|
|
#![allow(warnings)]
|
|
|
|
|
|
|
|
struct S<T>(T);
|
|
|
|
|
2015-03-25 17:06:52 -07:00
|
|
|
static s1: S<S<usize>>=S(S(0));
|
|
|
|
static s2: S<usize>=S(0);
|
2014-06-20 09:53:12 -07:00
|
|
|
|
|
|
|
fn main() {
|
2015-03-25 17:06:52 -07:00
|
|
|
let foo: S<S<usize>>=S(S(0));
|
|
|
|
let foo: S<usize>=S(0);
|
2014-06-20 09:53:12 -07:00
|
|
|
}
|