1/* PR sanitizer/65367 */ 2/* { dg-do compile } */ 3/* { dg-options "-fno-tree-ccp -fno-tree-copy-prop -fno-tree-dominator-opts -fno-tree-fre -fsanitize=object-size" } */ 4 5int 6foo (char *p) 7{ 8 return *((const char *) "") - *p; 9} 10