blob: 748b1f7ab1891549bc1213ab184908953ccf71bb [file] [log] [blame]
// { dg-do compile }
// This should fail as A::foo<0> is not a typename at all.
struct A
{
template<int> void foo(int i)
{
typename A::foo<0>(i1); // { dg-error "" }
}
};