blob: 291e97a8d5c72a6c6d40ae2c58c8b2ffec84ded2 [file] [log] [blame]
/* PR c/65066 */
/* { dg-do compile } */
/* { dg-options "-Wformat -Wformat-signedness" } */
extern int sscanf (const char *restrict, const char *restrict, ...);
int *a;
void
foo ()
{
sscanf (0, "0x%x #", a); /* { dg-warning "expects argument of type" } */
}