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

Unified Diff: gcc/gcc/testsuite/g++.old-deja/g++.other/overload11.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++.old-deja/g++.other/expr1.C ('k') | gcc/gcc/testsuite/g++.old-deja/g++.other/pmf3.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++.other/overload11.C
diff --git a/gcc/gcc/testsuite/g++.old-deja/g++.other/overload11.C b/gcc/gcc/testsuite/g++.old-deja/g++.other/overload11.C
index 3b0cab79fd9e4e63954b46ad43cda96fb2327e02..e8c88fd58ec852157c13036000b7cd0b0f4ac168 100644
--- a/gcc/gcc/testsuite/g++.old-deja/g++.other/overload11.C
+++ b/gcc/gcc/testsuite/g++.old-deja/g++.other/overload11.C
@@ -54,11 +54,10 @@ int main (int argc, char **argv)
ptr = (ovl); // ok
ptr = (&ovl); // ok
- // 13.4 indicates these are ok.
- ptr = (0, ovl); // ok { dg-bogus "" "" { xfail *-*-* } }
- ptr = (0, &ovl); // ok { dg-bogus "" "" { xfail *-*-* } }
- ptr = (argc ? ovl : ovl); // ok { dg-bogus "" "" { xfail *-*-* } }
- ptr = (argc ? &ovl : &ovl);// ok { dg-bogus "" "" { xfail *-*-* } }
+ ptr = (0, ovl); // ok { dg-error "no context" }
+ ptr = (0, &ovl); // ok { dg-error "no context" }
+ ptr = (argc ? ovl : ovl); // ok { dg-error "no context" }
+ ptr = (argc ? &ovl : &ovl);// ok { dg-error "no context" }
vptr = (ovl); // { dg-error "" } no matching candidates
vptr = (&ovl); // { dg-error "" } no matching candidates
« no previous file with comments | « gcc/gcc/testsuite/g++.old-deja/g++.other/expr1.C ('k') | gcc/gcc/testsuite/g++.old-deja/g++.other/pmf3.C » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698