Revise -mdisable-fpregs option and add new -msoft-mult option
[official-gcc.git] / gcc / testsuite / gcc.dg / c2x-old-style-definition-4.c
blobb1862b101b89baffd0f208fb3619581f52b308a3
1 /* Test old-style function definitions not in C2x: () gives type with
2 a prototype. */
3 /* { dg-do compile } */
4 /* { dg-options "-std=c2x" } */
6 void
7 f ()
11 void
12 g (void)
14 f (1); /* { dg-error "too many arguments to function" } */