OSDN Git Service

PR c++/45114 - Support C++11 alias-declaration
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-ice3.C
1 // PR c++/46289
2 // { dg-options -std=c++0x }
3
4 struct A
5 {
6   int i;
7 };
8
9 struct B
10 {
11   A a;
12   constexpr B(): a({1,2}) { }   // { dg-error "" }
13 };