Commit da549e29 by Kaveh R. Ghazi Committed by Kaveh Ghazi

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
parent e825ca7f
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.
......
/* { dg-do run } */
/* This doesn't work on solaris2 for reasons described in PR 6482. */
/* { dg-do run { xfail *-*-solaris2* } } */
#include <stdlib.h>
......
......@@ -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
}
}
......
/* { 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 {
......
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