summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/memtemp30.C
blob: 6a24d2e254b21a0b09970d081b3a7e5a33388ccb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// { dg-do link  }
// GROUPS passed templates membertemplates
extern "C" int printf(const char*, ...);

template <class X>
struct S
{
  template <class U>
  void g(U u) { this; }
};


int main()
{
  S<char*> s;
  s.g(3);
}