blob: 917da1ef2ee9212d3bf28a2f05c0744c1e68d6ea [file] [log] [blame]
// { dg-do link }
// GROUPS passed templates membertemplates
extern "C" int printf(const char*, ...);
template <class T>
struct S
{
template <class U>
void g(U u)
{ i; }
int i;
};
int main()
{
S<char> s;
s.g(3);
}