aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/initlist61.C
blob: 28eccc2637db6ca015ddb8f8f7d904088383e834 (plain)
1
2
3
4
5
6
7
8
9
// { dg-do compile { target c++11 } }

struct N { N(int); };
struct A { N i,j; };

int main()
{
  A* ap = new A{1,2};
}