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

Unified Diff: gcc/gcc/testsuite/g++.dg/overload/ellipsis1.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/other/ucnid-1.C ('k') | gcc/gcc/testsuite/g++.dg/parse/crash10.C » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/testsuite/g++.dg/overload/ellipsis1.C
diff --git a/gcc/gcc/testsuite/g++.dg/overload/ellipsis1.C b/gcc/gcc/testsuite/g++.dg/overload/ellipsis1.C
index bdd3cd2311ba1a2a8f8096b306bc2beb12c932e8..3dedaa6be4a83c376349e6f5fe008e8388198957 100644
--- a/gcc/gcc/testsuite/g++.dg/overload/ellipsis1.C
+++ b/gcc/gcc/testsuite/g++.dg/overload/ellipsis1.C
@@ -1,9 +1,6 @@
// PR c++/15142
// Bug: We were aborting after giving a warning about passing a non-POD.
-// Suppress the warning about undefined behavior.
-// { dg-options "-w" }
-
struct B {
B() throw() { }
B(const B&) throw() { }
@@ -17,5 +14,5 @@ struct X {
struct S { S(...); };
void SillyFunc() {
- throw S(X());
+ throw S(X()); // { dg-error "copy" }
}
« no previous file with comments | « gcc/gcc/testsuite/g++.dg/other/ucnid-1.C ('k') | gcc/gcc/testsuite/g++.dg/parse/crash10.C » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698