[C++] fix some new-abi testcases
Nathan Sidwell
nathan@codesourcery.com
Wed Aug 9 03:06:00 GMT 2000
Hi,
this patch fixes some new-abi rtti test cases, which needed amending
in line with the updated rtti member names.
nathan
--
Dr Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
'But that's a lie.' - 'Yes it is. What's your point?'
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org
2000-08-09 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.abi/ptrflags.C: Adjust rtti member names.
* g++.old-deja/g++.abi/vmihint.C: Likewise.
Index: testsuite/g++.old-deja/g++.abi/ptrflags.C
===================================================================
RCS file: /cvs/gcc/egcs/gcc/testsuite/g++.old-deja/g++.abi/ptrflags.C,v
retrieving revision 1.3
diff -c -3 -p -r1.3 ptrflags.C
*** ptrflags.C 2000/05/25 16:58:47 1.3
--- ptrflags.C 2000/08/08 15:08:42
*************** int expect (int flags, type_info const &
*** 18,24 ****
dynamic_cast <__pbase_type_info const *> (&info);
if (!ptr)
return 0;
! if (ptr->quals != flags)
return 0;
return 1;
}
--- 18,24 ----
dynamic_cast <__pbase_type_info const *> (&info);
if (!ptr)
return 0;
! if (ptr->qualifier_flags != flags)
return 0;
return 1;
}
Index: testsuite/g++.old-deja/g++.abi/vmihint.C
===================================================================
RCS file: /cvs/gcc/egcs/gcc/testsuite/g++.old-deja/g++.abi/vmihint.C,v
retrieving revision 1.2
diff -c -3 -p -r1.2 vmihint.C
*** vmihint.C 2000/04/07 16:59:12 1.2
--- vmihint.C 2000/08/08 15:08:42
*************** int expect (int flags, type_info const &
*** 36,42 ****
dynamic_cast <__vmi_class_type_info const *> (&info);
if (!ptr)
return 0;
! if (ptr->vmi_flags != flags)
return 0;
return 1;
}
--- 36,42 ----
dynamic_cast <__vmi_class_type_info const *> (&info);
if (!ptr)
return 0;
! if (ptr->flags != flags)
return 0;
return 1;
}
More information about the Gcc-patches
mailing list