Commit 68c98199 by Nathan Sidwell Committed by Nathan Sidwell

ptrflags.C: Adjust rtti member names.

	* g++.old-deja/g++.abi/ptrflags.C: Adjust rtti member names.
	* g++.old-deja/g++.abi/vmihint.C: Likewise.

From-SVN: r35587
parent 0f586b9b
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.
2000-08-09 Alexandre Oliva <aoliva@redhat.com> 2000-08-09 Alexandre Oliva <aoliva@redhat.com>
* gcc.c-torture/execute/20000808-1.c: New test. * gcc.c-torture/execute/20000808-1.c: New test.
......
...@@ -18,7 +18,7 @@ int expect (int flags, type_info const &info) ...@@ -18,7 +18,7 @@ int expect (int flags, type_info const &info)
dynamic_cast <__pbase_type_info const *> (&info); dynamic_cast <__pbase_type_info const *> (&info);
if (!ptr) if (!ptr)
return 0; return 0;
if (ptr->quals != flags) if (ptr->qualifier_flags != flags)
return 0; return 0;
return 1; return 1;
} }
......
...@@ -36,7 +36,7 @@ int expect (int flags, type_info const &info) ...@@ -36,7 +36,7 @@ int expect (int flags, type_info const &info)
dynamic_cast <__vmi_class_type_info const *> (&info); dynamic_cast <__vmi_class_type_info const *> (&info);
if (!ptr) if (!ptr)
return 0; return 0;
if (ptr->vmi_flags != flags) if (ptr->flags != flags)
return 0; return 0;
return 1; return 1;
} }
......
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