blob: e3ffe3b58a705263a7e7d50c441bd6288457a964 [file] [log] [blame]
// PR c++/55639
template <int number>
struct SomeClass
{
SomeClass() { }
template <typename E, int number2>
struct Fun {
static void
fun() { }
};
};
template <int number>
template <typename E>
struct SomeClass<number>::template Fun<E, 0> { // { dg-error "template" }
static void fun() { }
};