blob: a98d797e9f6a9328bfb4ee47b1ca5b980d30faa3 [file] [log] [blame]
/* PR sanitizer/65367 */
/* { dg-do compile } */
/* { dg-options "-fno-tree-ccp -fno-tree-copy-prop -fno-tree-dominator-opts -fno-tree-fre -fsanitize=object-size" } */
int
foo (char *p)
{
return *((const char *) "") - *p;
}