* g++.old-deja/g++.abi/ptrflags.C: Use __pbase_type_info.
From-SVN: r34172
This commit is contained in:
parent
742dff1596
commit
bfc2210762
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
2000-05-25 Nathan Sidwell <nathan@codesourcery.com>
|
||||
|
||||
* g++.old-deja/g++.abi/ptrflags.C: Use __pbase_type_info.
|
||||
|
||||
2000-05-25 Nathan Sidwell <nathan@codesourcery.com>
|
||||
|
||||
* g++.old-deja/g++.eh/catch11.C: New test.
|
||||
|
|
|
@ -14,8 +14,8 @@ using namespace abi;
|
|||
|
||||
int expect (int flags, type_info const &info)
|
||||
{
|
||||
__pointer_type_info const *ptr =
|
||||
dynamic_cast <__pointer_type_info const *> (&info);
|
||||
__pbase_type_info const *ptr =
|
||||
dynamic_cast <__pbase_type_info const *> (&info);
|
||||
if (!ptr)
|
||||
return 0;
|
||||
if (ptr->quals != flags)
|
||||
|
|
Loading…
Add table
Reference in a new issue