summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/array18.C
blob: b2b1e3502e1872a8d579ccd780d6c9c819893847 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// PR c++/30924

template<typename T>
struct x {};

template<typename T, unsigned N>
struct x<T*[N]> {};

int main() {
  x<int> a;
  x<int*[10]> b;
  return 0;
}