b984b4bfa5
2004-07-09 Frank Ch. Eigler <fche@redhat.com> Test case for g++/15861 * testsuite/libmudflap.c++/ctors-[12].cxx: New test case halves. * testsuite/libmudflap.c++/ctors.exp: Driver. * testsuite/libmudflap.c++/c++frags.exp: Elide redundant default. Look only for *frag* test cases. From-SVN: r84392
17 lines
315 B
Plaintext
17 lines
315 B
Plaintext
|
|
libmudflap-init c++
|
|
|
|
dg-init
|
|
|
|
global srcdir
|
|
|
|
foreach flags [list {} {-static} {-O2} {-O3}] {
|
|
foreach srcfile [lsort [glob -nocomplain ${srcdir}/libmudflap.c++/*frag.cxx]] {
|
|
set bsrc [file tail $srcfile]
|
|
setenv MUDFLAP_OPTIONS "-viol-segv"
|
|
dg-runtest $srcfile $flags "-fmudflap -lmudflap"
|
|
}
|
|
}
|
|
|
|
dg-finish
|