Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr88410.C
blob: c64e62df1623813e2ad2ffa094d1f9745254609e [
file
] [
log
] [
blame
]
// PR c++/88410
// { dg-do compile { target c++11 } }
typedef
__UINTPTR_TYPE__
uintptr_t
;
const
uintptr_t
a
=
32
;
struct
C
{
int
b
;
int
c
;
};
uintptr_t
d
{
uintptr_t
(&
reinterpret_cast
<
C
*>(
a
)->
c
)
-
a
};