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

template <class T> struct A { };
template <class T, class U> struct B
{
  struct N { };
  typedef U u;
};

typedef B<int, A<int>(*)[2]> btype;
A<int> v1[2];
btype v2;