diff --git a/gcc/testsuite/g++.old-deja/g++.other/using6.C b/gcc/testsuite/g++.old-deja/g++.other/using6.C index 2cdaf670215..8e518ac95dd 100644 --- a/gcc/testsuite/g++.old-deja/g++.other/using6.C +++ b/gcc/testsuite/g++.old-deja/g++.other/using6.C @@ -3,11 +3,13 @@ // Based on bug report by Klaus-Georg Adams // +// crash test - XFAIL *-*-* + struct bar { typedef bar t; }; struct foo : bar { using bar::t; - t baz(); // syntax error?!? - XFAIL *-*-* + t baz(); // gets bogus error - XFAIL *-*-* }; diff --git a/gcc/testsuite/g++.old-deja/g++.other/using7.C b/gcc/testsuite/g++.old-deja/g++.other/using7.C index 5c54f80b9a1..76af0de7b06 100644 --- a/gcc/testsuite/g++.old-deja/g++.other/using7.C +++ b/gcc/testsuite/g++.old-deja/g++.other/using7.C @@ -3,11 +3,13 @@ // Based on bug report by Klaus-Georg Adams // +// crash test - XFAIL *-*-* + struct bar { typedef bar t; }; struct foo : bar { using bar::t; - t baz; // syntax error?!? - XFAIL *-*-* + t baz; // gets bogus error - XFAIL *-*-* };