1 /* PR sanitizer/80878 */
2 /* { dg-do compile { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
3 /* { dg-options "-fsanitize=object-size" } */
4 
sbrk()5 void * sbrk ()
6 {
7  volatile register unsigned int sp_r1 __asm__ ("ebx");
8  return __builtin_strcat ((char*)sp_r1, 0); /* { dg-warning "cast to pointer from integer of different size" } */
9 }
10