Debian Codegraph @

gcc/testsuite/c-c++-common/asan/pr98204.c

raw
1 /* PR sanitizer/98204 */
2 /* { dg-options "-fsanitize=address,pointer-subtract,pointer-compare" } */
3
4 struct{int c;}v;
5 static long i=((char*)&(v.c)-(char*)&v);
6 static long i2=((char*)&(v.c)<(char*)&v);