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

Unified Diff: gcc/gcc/testsuite/g++.old-deja/g++.brendan/crash63.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/warn/unit-1.C ('k') | gcc/gcc/testsuite/g++.old-deja/g++.brendan/misc6.C » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/testsuite/g++.old-deja/g++.brendan/crash63.C
diff --git a/gcc/gcc/testsuite/g++.old-deja/g++.brendan/crash63.C b/gcc/gcc/testsuite/g++.old-deja/g++.brendan/crash63.C
index 13f8339b3421012d0b4d64c99e45e6682eed9674..89685fcaeb5496e2fb0659dd15209a90377e64d2 100644
--- a/gcc/gcc/testsuite/g++.old-deja/g++.brendan/crash63.C
+++ b/gcc/gcc/testsuite/g++.old-deja/g++.brendan/crash63.C
@@ -4,6 +4,7 @@ class String
{
public:
String (const char *str);
+ String (const String&);
};
class UnitList
@@ -12,4 +13,4 @@ class UnitList
UnitList (...);
};
-UnitList unit_list (String("keV")); // { dg-warning "" } cannot pass non-pod
+UnitList unit_list (String("keV")); // { dg-error "" } cannot pass non-pod
« no previous file with comments | « gcc/gcc/testsuite/g++.dg/warn/unit-1.C ('k') | gcc/gcc/testsuite/g++.old-deja/g++.brendan/misc6.C » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698