PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / abi / rtti2.C
blobeece8724a2a29f6de4e545edacd3950ef97a78a9
1 // { dg-do run }
3 #include <cxxabi.h>
4 #include <typeinfo>
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;