ptrmem6.C: xfail a test for ARM and MIPS in C++11 mode.

gcc/testsuite/
	* g++.old-deja/g++.pt/ptrmem6.C: xfail a test for ARM and MIPS
	in C++11 mode.

From-SVN: r183388
This commit is contained in:
Richard Sandiford 2012-01-22 10:29:42 +00:00 committed by Richard Sandiford
parent 59c604c447
commit 14f85436a3
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-01-22 Richard Sandiford <rdsandiford@googlemail.com>
* g++.old-deja/g++.pt/ptrmem6.C: xfail a test for ARM and MIPS
in C++11 mode.
2012-01-21 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/50556

View File

@ -25,7 +25,7 @@ int main() {
h<&B::j>(); // { dg-error "" }
g<(void (A::*)()) &A::f>(); // { dg-error "" "" { xfail c++11 } }
h<(int A::*) &A::i>(); // { dg-error "" "" { xfail c++11 } }
g<(void (A::*)()) &B::f>(); // { dg-error "" }
g<(void (A::*)()) &B::f>(); // { dg-error "" "" { xfail { c++11 && { arm*-*-* mips*-*-* } } } }
h<(int A::*) &B::j>(); // { dg-error "" }
g<(void (A::*)()) 0>(); // { dg-error "" "" { target c++98 } }
h<(int A::*) 0>(); // { dg-error "" "" { target c++98 } }