blob: ac8b7c5aa1261fe12cf5c13eceb6dd378699fd97 [file] [log] [blame]
// { dg-do link }
// { dg-options "-ansi -pedantic-errors -w" }
// GROUPS passed templates
template <class U>
struct S
{
template <class T>
void foo(T t);
};
template <>
template <>
void S<char*>::foo<int>(int) {}
int main()
{
S<char*> s;
s.foo<int>(3.0);
}