Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
c-c++-common
/
asan
/
pr98204.c
blob: 7532646d71245a302a22d9fd13ce54e4ea209e49 [
file
] [
log
] [
blame
]
/* PR sanitizer/98204 */
/* { dg-options "-fsanitize=address,pointer-subtract,pointer-compare" } */
struct
{
int
c
;}
v
;
static
long
i
=((
char
*)&(
v
.
c
)-(
char
*)&
v
);
static
long
i2
=((
char
*)&(
v
.
c
)<(
char
*)&
v
);