blob: b62e8a96af894f5d9e4d0f99adef304e61e8a52c [file] [log] [blame]
// PR c++/98538
// { dg-do compile { target c++11 } }
// ICE bulding a dependent array type variant
template<typename T> using A = int[1];
template<typename T, const A<T>> struct X { };
template<typename T>
void
f (const A<T>)
{
const A<T> a;
}
template<typename T>
struct Y {
const A<T> a;
};