fixes for host gcc 4.6.1
[zpugcc/jano.git] / toolchain / gcc / libgloss / testsuite / libgloss.all / func.c
blob50ca2070d4efe6eb71a40d872e3c17103e824547
1 /* Oki bug report [OKI002](gcc008_2)
3 The following program is not executed.
4 Error message is as follow.
6 illegal trap: 0x12 pc=d000d954
7 d000d954 08000240 NOP
9 */
11 #include <stdio.h>
12 #include <stdarg.h>
14 int func (int, ...);
16 void main ()
18 func (2, 1., 2., 3.);
19 pass ("func [OKI002]");
20 fflush (stdout);
23 int func (int i, ...)
25 return (i);