| Index: gcc/gcc/testsuite/g++.dg/cpp0x/initlist12.C
|
| diff --git a/gcc/gcc/testsuite/g++.dg/cpp0x/initlist12.C b/gcc/gcc/testsuite/g++.dg/cpp0x/initlist12.C
|
| index 31d34c4e71db85aa17306639e8e995887738898e..f344c780cc25cfe3a0696de942f6979184d594c5 100644
|
| --- a/gcc/gcc/testsuite/g++.dg/cpp0x/initlist12.C
|
| +++ b/gcc/gcc/testsuite/g++.dg/cpp0x/initlist12.C
|
| @@ -1,20 +1,21 @@
|
| // PR c++/38698
|
| // { dg-options "-std=c++0x" }
|
| +// { dg-prune-output "note" }
|
|
|
| struct A
|
| {
|
| int i;
|
| };
|
|
|
| -A a({1,2}); // { dg-error "too many initializers" }
|
| +A a({1,2}); // { dg-error "no match" }
|
|
|
| union U
|
| {
|
| int i,j;
|
| };
|
|
|
| -U u({1,2}); // { dg-error "too many initializers" }
|
| +U u({1,2}); // { dg-error "no match" }
|
|
|
| union V {};
|
|
|
| -V v({1}); // { dg-error "too many initializers" }
|
| +V v({1}); // { dg-error "no match" }
|
|
|