1 // { dg-do run }
2 
3 #include <cxxabi.h>
4 #include <typeinfo>
5 
main()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 }
13