Commit 3da5d5c8 by Jeffrey A Law Committed by Jeff Law

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
parent 03a55252
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.
......
......@@ -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 ()
{
......
......@@ -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 ()
{
......
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