OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
cp:
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
expr
/
static_cast6.C
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
}