aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/nsdmi-template13.C
blob: 65ccd0aaa7f7384bbeea23a7b859235e2cd0bb63 (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR c++/58704
// { dg-do compile { target c++11 } }

struct A {};

template<typename> struct B
{
  A a[1] = { };
};

B<int> b;