blob: acd7fb05e4c442c30f04d0d4e923df5c427429f2 [file] [log] [blame]
/* PR sanitizer/80878 */
/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
/* { dg-options "-fsanitize=object-size" } */
void * sbrk ()
{
volatile register unsigned int sp_r1 __asm__ ("ebx");
return __builtin_strcat ((char*)sp_r1, 0); /* { dg-warning "cast to pointer from integer of different size" } */
}