OSDN Git Service

* c-common.h (lang_post_pch_load): New variable.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / abi / rtti2.C
1 // { dg-do run }
2
3 #include <cxxabi.h>
4 #include <typeinfo>
5
6 int main () {
7   const std::type_info& ti = typeid (const int (*)[3]);
8   const abi::__pointer_type_info& pti 
9     = static_cast<const abi::__pointer_type_info&>(ti);
10   if ((pti.__flags & pti.__const_mask) == 0)
11     return 1;
12 }