blob: af994c64582d9173be8030e464d74bbdf1e356a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* 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" } */
}
|