repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
expr
/
static_cast6.C
blob
90f32f1d79370fe52009aa9ef7caa275720e2357
1
// PR c++/21853
2
3
struct blah {
4
int a;
5
};
6
7
int main( int argc, char ** argv ) {
8
int blah::* ptdma = &blah::a;
9
10
const void *ptdmv = static_cast< void * >( &ptdma );
11
12
int blah::* const ptdmb = * static_cast< int blah::* const * >( ptdmv );
13
14
return 0;
15
}