repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr88410.C
blob
c64e62df1623813e2ad2ffa094d1f9745254609e
1
// PR c++/88410
2
// { dg-do compile { target c++11 } }
3
4
typedef __UINTPTR_TYPE__ uintptr_t;
5
const uintptr_t a = 32;
6
struct C { int b; int c; };
7
uintptr_t d { uintptr_t (&reinterpret_cast<C *>(a)->c) - a };