blob: 955562d207677939f5c60249483e3e3a82347654 [file] [log] [blame]
// { dg-do compile { target c++11 } }
template<typename... T> struct A
{
template<int> void foo(A<T>); // { dg-error "not expanded|T" }
};
void bar()
{
A<int>().foo<0>(A<int>()); // { dg-error "no member named" }
}