re PR libstdc++/19946 (cris-elf testsuite failure: demangle/abi_examples/01.cc and 02)
PR libstdc++/19946 * testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13 demangler change. * testsuite/demangle/abi_examples/02.cc (main): Likewise. From-SVN: r95050
This commit is contained in:
parent
f46fe224b4
commit
1552fa74b8
3 changed files with 15 additions and 4 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2005-02-15 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
PR libstdc++/19946
|
||||||
|
* testsuite/demangle/abi_examples/01.cc (main): Adjust for 2005-02-13
|
||||||
|
demangler change.
|
||||||
|
* testsuite/demangle/abi_examples/02.cc (main): Likewise.
|
||||||
|
|
||||||
2005-02-13 Richard Guenther <rguenth@gcc.gnu.org>
|
2005-02-13 Richard Guenther <rguenth@gcc.gnu.org>
|
||||||
Paolo Carlini <pcarlini@suse.de>
|
Paolo Carlini <pcarlini@suse.de>
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// 2003-02-26 Benjamin Kosnik <bkoz@redhat.com>
|
// 2003-02-26 Benjamin Kosnik <bkoz@redhat.com>
|
||||||
|
|
||||||
// Copyright (C) 2003 Free Software Foundation, Inc.
|
// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
|
||||||
//
|
//
|
||||||
// This file is part of the GNU ISO C++ Library. This library is free
|
// This file is part of the GNU ISO C++ Library. This library is free
|
||||||
// software; you can redistribute it and/or modify it under the
|
// software; you can redistribute it and/or modify it under the
|
||||||
|
@ -31,7 +31,9 @@ int main()
|
||||||
// extern "C" function
|
// extern "C" function
|
||||||
// extern "C" float f(void) { };
|
// extern "C" float f(void) { };
|
||||||
// T f
|
// T f
|
||||||
verify_demangle("f", "error code = -2: invalid mangled name");
|
// f is ambiguous between "C" external name and internal built-in type
|
||||||
|
// name. The ambiguity is resolved to the built-in type name.
|
||||||
|
verify_demangle("f", "float");
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// 2003-02-26 Benjamin Kosnik <bkoz@redhat.com>
|
// 2003-02-26 Benjamin Kosnik <bkoz@redhat.com>
|
||||||
|
|
||||||
// Copyright (C) 2003 Free Software Foundation, Inc.
|
// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
|
||||||
//
|
//
|
||||||
// This file is part of the GNU ISO C++ Library. This library is free
|
// This file is part of the GNU ISO C++ Library. This library is free
|
||||||
// software; you can redistribute it and/or modify it under the
|
// software; you can redistribute it and/or modify it under the
|
||||||
|
@ -31,7 +31,9 @@ int main()
|
||||||
// or variable "f"
|
// or variable "f"
|
||||||
// int f;
|
// int f;
|
||||||
// B f
|
// B f
|
||||||
verify_demangle("f", "error code = -2: invalid mangled name");
|
// f is ambiguous between variable external name and internal built-in type
|
||||||
|
// name. The ambiguity is resolved to the built-in type name.
|
||||||
|
verify_demangle("f", "float");
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue