aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/gcc/testsuite/g++.dg/template/ttp18.C
blob: 095c07fb9270e324ad9c12a48f3e381b953ba195 (plain)
1
2
3
4
5
6
7
8
9
10
template <template <typename> class T>
void f(T<int>) {}

template <typename T>
union U {};

void g() {
  f(U<int>());
}