| 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
|
|
|