Sign in
gnu
/
gcc
/
2ce0608ca3dca30518bec525c435f7bc4d7f9b70
/
.
/
gcc
/
testsuite
/
gcc.dg
/
pr67854.c
blob: af994c64582d9173be8030e464d74bbdf1e356a6 [
file
] [
log
] [
blame
]
/* PR c/67854 */
/* { dg-do compile } */
#include
<stdbool.h>
#include
<stdarg.h>
void
foo
(
va_list ap
)
{
va_arg
(
ap
,
bool
);
/* { dg-warning "is promoted to .int. when passed through" } */
}