summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/memtemp12.C
blob: b390becb9843c470e65286725a3f1fc548279b91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-do assemble  }
// GROUPS passed templates membertemplates
template <class T>
struct S
{
  template <class U>
  void foo(U);
};

void f()
{
  S<int> s;
}