1 /* { dg-do compile } */
2 /* { dg-options "-Wc++-compat" } */
15 f2 (va_arg (ap, int));
16 f2 (va_arg (ap, _Bool)); /* { dg-warning "promoted" } */
17 f2 (va_arg (ap, enum E)); /* { dg-warning "promoted" } */
20 /* Match extra informative notes. */
21 /* { dg-message "note:" "expected" { target *-*-* } 0 } */