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

template<class T>
struct A
{
  T foo;
};

template<class T>
struct B
{
  A<int> _squares[2];
};