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

template <class T>
struct S {};

int main()
{
  S<int> si;

  foo<S<int> >(si);
}