1 // PR c++/98538 2 // { dg-do compile { target c++11 } } 3 // ICE bulding a dependent array type variant 4 5 template<typename T> using A = int[1]; 6 template<typename T, const A<T>> struct X { }; 7 8 template<typename T> 9 void f(const A<T>)10f (const A<T>) 11 { 12 const A<T> a; 13 } 14 15 template<typename T> 16 struct Y { 17 const A<T> a; 18 }; 19