Files
mips/_old/src/func.c
T
jens 26291bca3d - initial import
git-svn-id: http://moon:8086/svn/mips@1 a8ebac50-d88d-4704-bea3-6648445a41b3
2014-07-20 15:01:37 +00:00

27 lines
385 B
C

/* Oki bug report [OKI002](gcc008_2)
The following program is not executed.
Error message is as follow.
illegal trap: 0x12 pc=d000d954
d000d954 08000240 NOP
*/
#include <stdio.h>
#include <stdarg.h>
int func (int, ...);
void main ()
{
func (2, 1., 2., 3.);
printf ("func [OKI002]");
fflush (stdout);
}
int func (int i, ...)
{
return (i);
}