OSDN Git Service

* decl.c (compute_array_index_type): Don't try to do anything with
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / array2.C
1 // Build don't link:
2
3 template<int N, class C>
4 class Bar {};
5
6 template<class C>
7 class Huh {};
8
9 template<int N>
10 void foo(const Bar<N,Huh<float[1]> > &x) {}
11
12 int main() {
13   foo(Bar<3,Huh<float[1]> >());
14 }