OSDN Git Service

Run most tests in both C++98 and C++11 modes.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / init / brace2.C
index 619a20f..fec9c6c 100644 (file)
@@ -5,4 +5,4 @@ const char * y = { "hello" };
 int a = 2;
 int b = { 2,3 }; // { dg-error "requires one element in initializer" }
 int c = { { 2 } } ; // { dg-error "braces around scalar initializer" }
-int d = {}; // { dg-error "initializer" }
+int d = {}; // { dg-error "initializer" "" { target c++98 } }