repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (165734:167278).
[official-gcc/graphite-test-results.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
}