Revise -mdisable-fpregs option and add new -msoft-mult option
[official-gcc.git] / gcc / testsuite / gcc.dg / c2x-unproto-1.c
blob45d68f2c2927951328d6de55dd869a94723c3070
1 /* Test compatibility of unprototyped and prototyped function types (C2x makes
2 the case of types affected by default argument promotions compatible). Test
3 valid-in-C2x usages. */
4 /* { dg-do compile } */
5 /* { dg-options "-std=c2x -pedantic-errors" } */
7 void f1 ();
8 void f1 (float);
10 void f2 (float);
11 void f2 ();
13 void f3 ();
14 void f3 (char);
16 void f4 (char);
17 void f4 ();
19 /* Built-in function case. */
20 float sqrtf ();