instantiate2.C: XFAIL for HPUX too since its linker doesn't give line numbers either.

* g++.old-deja/g++.ext/instantiate2.C: XFAIL for HPUX too since
        its linker doesn't give line numbers either.
        * g++.old-deja/g++.ext/instantiate3.C: Similarly.

From-SVN: r41597
This commit is contained in:
Jeffrey A Law 2001-04-26 17:13:04 +00:00 committed by Jeff Law
parent 03a5525282
commit 3da5d5c8d8
3 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,9 @@
Thu Apr 26 11:15:12 2001 Jeffrey A Law (law@cygnus.com)
* g++.old-deja/g++.ext/instantiate2.C: XFAIL for HPUX too since
its linker doesn't give line numbers either.
* g++.old-deja/g++.ext/instantiate3.C: Similarly.
2001-04-26 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/lex1.C: New test.

View File

@ -16,8 +16,9 @@ static template struct A<int>;
void test_int() { A<int>::t = 42; } // gets bogus error
void test_char() { A<char>::t = 42; } // ERROR - not instantiated XFAIL *-*-irix*
void test_char() { A<char>::t = 42; } // ERROR - not instantiated XFAIL *-*-irix* *-*-hpux*
// Irix's default linker does not produce line numbers so XFAIL it.
// Similarly for HP's linker
int main ()
{

View File

@ -10,9 +10,10 @@ template <class T> struct A {
inline template struct A<int>;
A<int> a; // gets bogus error
A<char> b; // ERROR - not instantiated XFAIL mips*-*-*
A<char> b; // ERROR - not instantiated XFAIL mips*-*-* *-*-hpux*
// Irix's default linker does not
// produce line numbers so XFAIL it.
// Similarly for HPUX.
int main ()
{