conpr-2.C: Expect failure on solaris2.

* g++.dg/special/conpr-2.C: Expect failure on solaris2.
	* g++.dg/special/ecos.exp (conpr-3.C): Likewise.
	* g++.dg/special/initp1.C: Likewise.

From-SVN: r59950
This commit is contained in:
Kaveh R. Ghazi 2002-12-09 00:47:30 +00:00 committed by Kaveh Ghazi
parent e825ca7ff5
commit da549e294b
4 changed files with 15 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2002-12-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* g++.dg/special/conpr-2.C: Expect failure on solaris2.
* g++.dg/special/ecos.exp (conpr-3.C): Likewise.
* g++.dg/special/initp1.C: Likewise.
2002-12-06 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20021204-1.c: New test.

View File

@ -1,4 +1,5 @@
/* { dg-do run } */
/* This doesn't work on solaris2 for reasons described in PR 6482. */
/* { dg-do run { xfail *-*-solaris2* } } */
#include <stdlib.h>

View File

@ -77,8 +77,11 @@ if [string match "*init_priority*" $lines] then {
fail "conpr-3b.o"
} else {
# run it with objects both ways around!
dg-runtest "$srcdir/$subdir/conpr-3.C" "conpr-3a.o conpr-3b.o" ""
dg-runtest "$srcdir/$subdir/conpr-3.C" "conpr-3b.o conpr-3a.o" ""
# This doesn't work on solaris2 for reasons described in PR 6482.
if { ![regexp ".*-solaris2.*" $target_triplet] } {
dg-runtest "$srcdir/$subdir/conpr-3.C" "conpr-3a.o conpr-3b.o" ""
dg-runtest "$srcdir/$subdir/conpr-3.C" "conpr-3b.o conpr-3a.o" ""
}
file delete conpr-3a.o conpr-3b.o
}
}

View File

@ -1,4 +1,5 @@
/* { dg-do run } */
/* This doesn't work on solaris2 for reasons described in PR 6482. */
/* { dg-do run { xfail *-*-solaris2* } } */
#include <stdlib.h>
class Two {