Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/pr59963-1.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/59963 */ | |
2 /* { dg-do compile } */ | |
3 /* { dg-options "-std=gnu89 -Wdouble-promotion" } */ | |
4 | |
5 extern void baz (); | |
6 extern void qux (int, ...); | |
7 | |
8 void | |
9 foo (float f) | |
10 { | |
11 bar (f); /* { dg-warning "8:implicit conversion" } */ | |
12 baz (f); /* { dg-warning "8:implicit conversion" } */ | |
13 qux (42, f); /* { dg-warning "12:implicit conversion" } */ | |
14 } |