aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/memtemp30.C
blob: 923ec85a7383d482c0056f7b82b23f45f70687f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Build don't run:
// 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);
}