aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/array2.C
blob: 6c5810ed77be195cad6744cc1910a405d1521838 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Build don't link:

template<int N, class C>
class Bar {};

template<class C>
class Huh {};

template<int N>
void foo(const Bar<N,Huh<float[1]> > &x) {}

int main() {
  foo(Bar<3,Huh<float[1]> >());
}