Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(209)

Unified Diff: gcc/gcc/testsuite/g++.dg/cpp0x/initlist12.C

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gcc/testsuite/g++.dg/cpp0x/deduce.C ('k') | gcc/gcc/testsuite/g++.dg/cpp0x/overload.C » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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" }
« no previous file with comments | « gcc/gcc/testsuite/g++.dg/cpp0x/deduce.C ('k') | gcc/gcc/testsuite/g++.dg/cpp0x/overload.C » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698