fix tests

From-SVN: r143026
This commit is contained in:
Jason Merrill 2009-01-02 19:27:19 -05:00
parent fc94bfc598
commit 0ede37fed4
2 changed files with 4 additions and 2 deletions

View file

@ -1,4 +1,5 @@
// PR c++/38684
// { dg-options "-std=c++0x" }
#include <initializer_list>

View file

@ -1,15 +1,16 @@
// PR c++/38698
// { dg-options "-std=c++0x" }
struct A
{
int i;
};
A a({1,2});
A a({1,2}); // { dg-error "too many initializers" }
union U
{
int i,j;
};
U u({1,2});
U u({1,2}); // { dg-error "too many initializers" }