Debian Codegraph @

gcc/testsuite/gcc.dg/pr67854.c

raw
1 /* PR c/67854 */
2 /* { dg-do compile } */
3
4 #include <stdbool.h>
5 #include <stdarg.h>
6
7 void
8 foo (va_list ap)
9 {
10 va_arg (ap, bool); /* { dg-warning "is promoted to .int. when passed through" } */
11 }