// PR c++/69958 // { dg-do compile { target c++11 } } typedef decltype(sizeof(int)) size_t; template struct list { }; template struct size { }; template using size_for = size; template struct assert_same; template struct assert_same {}; template using wrapped = list>; // This assertion fails (produces size<4>) assert_same< list>, wrapped> a3; template using wrapped2 = list>; // This assertion fails (produces size<2>) assert_same< list>, wrapped2> a4;