2013-10-21 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / dremf-type-compat-4.c
blobb3a2c5ad5d7ba65e283b0f658b2fca497023f337
1 /* Test for bogus diagnostics for dremf definition, as in bug 16666.
2 The GNU extension permitting a prototype to override the promotion
3 of old-style parameter declarations should only apply when the
4 prototype is visible, not for a built-in prototype. */
5 /* { dg-do compile } */
6 /* { dg-options "" } */
8 float
9 dremf(x, y) /* { dg-warning "conflicting types for built-in function 'dremf'" } */
10 float x, y;
12 return x + y;