comparison gcc/testsuite/gcc.dg/pr67854.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
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 }