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