repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
abi
/
rtti2.C
blob
eece8724a2a29f6de4e545edacd3950ef97a78a9
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
}