Commit d5714a5d by Zack Weinberg

crash8.C: Don't expect an error on line 12.

	* g++.old-deja/g++.brendan/crash8.C: Don't expect an error on
	line 12.
	* g++.old-deja/g++.brendan/parse3.C,
	g++.old-deja/g++.other/crash26.C,
	g++.old-deja/g++.other/crash28.C,
	g++.old-deja/g++.other/crash29.C,
	g++.old-deja/g++.other/crash30.C,
	g++.old-deja/g++.other/crash35.C: Remove XFAILs where appropriate.

From-SVN: r49164
parent 7437519c
2002-01-23 Zack Weinberg <zack@codesourcery.com>
* g++.old-deja/g++.brendan/crash8.C: Don't expect an error on
line 12.
* g++.old-deja/g++.brendan/parse3.C,
g++.old-deja/g++.other/crash26.C,
g++.old-deja/g++.other/crash28.C,
g++.old-deja/g++.other/crash29.C,
g++.old-deja/g++.other/crash30.C,
g++.old-deja/g++.other/crash35.C: Remove XFAILs where appropriate.
2002-01-23 Aldy Hernandez <aldyh@redhat.com> 2002-01-23 Aldy Hernandez <aldyh@redhat.com>
* gcc.dg/20020115-1.c: New. * gcc.dg/20020115-1.c: New.
...@@ -95,8 +106,7 @@ ...@@ -95,8 +106,7 @@
* g++.dg/other/deprecated.C: Fix FAIL from * g++.dg/other/deprecated.C: Fix FAIL from
"At global scope" message "At global scope" message
* g++.dg/ext/align1.C: Fix fail on cygwin from maximum * g++.dg/ext/align1.C: Fix fail on cygwin from maximum
alignment warnings alignment warnings.
2001-01-18 David Billinghurst <David.Billinghurst@riotinto.com> 2001-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
......
...@@ -8,5 +8,5 @@ class Elvis ...@@ -8,5 +8,5 @@ class Elvis
template<int a> template<int a>
class Elvis<0> class Elvis<0>
{ // ERROR - incorrect number of parameters { // ERROR - incorrect number of parameters
int geta() { return a ; } int geta() { return a ; } // ERROR - not in a class
} ; } ;
// Build don't link: // Build don't link:
// crash test - XFAIL *-*-* // crash test
// these are marked as expected errors because they evidence an // these are marked as expected errors because they evidence an
// ambiguity in the grammar between expressions and declarations. // ambiguity in the grammar between expressions and declarations.
...@@ -20,4 +20,4 @@ A A::operator+(const A in) ...@@ -20,4 +20,4 @@ A A::operator+(const A in)
return A(); // this works return A(); // this works
else else
return (A()); // this works not // gets bogus error - XFAIL *-*-* return (A()); // this works not // gets bogus error - XFAIL *-*-*
} // gets bogus error - XFAIL *-*-* }
// Build don't link: // Build don't link:
// Origin: Jakub Jelinek <jakub@redhat.com> // Origin: Jakub Jelinek <jakub@redhat.com>
// excess errors test - XFAIL *-*-*
class foo { class foo {
public: public:
foo(int); foo(int);
......
// Build don't link: // Build don't link:
// Origin: Jakub Jelinek <jakub@redhat.com> // Origin: Jakub Jelinek <jakub@redhat.com>
// excess errors test - XFAIL *-*-*
namespace N namespace N
{ {
class X; class X;
......
// Build don't link: // Build don't link:
// Origin: Jakub Jelinek <jakub@redhat.com> // Origin: Jakub Jelinek <jakub@redhat.com>
// crash test - XFAIL *-*-*
class bar class bar
{ {
public: public:
......
// Build don't link: // Build don't link:
// Origin: Jakub Jelinek <jakub@redhat.com> // Origin: Jakub Jelinek <jakub@redhat.com>
// excess errors test - XFAIL *-*-*
struct foo struct foo
{ {
foo(); foo();
......
// Build don't link: // Build don't link:
// Origin: Jakub Jelinek <jakub@redhat.com> // Origin: Jakub Jelinek <jakub@redhat.com>
// excess errors test - XFAIL *-*-*
void foo() void foo()
{ {
if [ // ERROR - parse error if [ // ERROR - parse error
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment