Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
gcc.dg
/
format
/
c11-scanf-1.c
blob: d2b9bfb23b5d58a115a17609514ab41335834a4d [
file
] [
log
] [
blame
]
/* Test for printf formats: rejection of C2X formats in pedantic mode. */
/* { dg-do compile } */
/* { dg-options "-std=c11 -pedantic -Wformat" } */
#include
"format.h"
void
foo
(
unsigned
int
*
uip
)
{
scanf
(
"%b"
,
uip
);
/* { dg-warning "C" } */
}