aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/initlist77.C
blob: 49b9079fb44580e1ea569a94d3059d65a0b07582 (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/58651
// { dg-require-effective-target c++11 }

struct A
{
  int i;
  A(int j) : i{{j}} {}		// { dg-error "too many braces" }
};

A a(0);