view test/regargs.c @ 746:f8ea174944f2

i64 continue... global table have to be fixed.
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 12 Nov 2010 22:19:55 +0900
parents a4445cb1aa91
children c3957d127e17
line wrap: on
line source

int printf(const char *format, ...);


void
arg1(int a1,int a2,int a3,int a4)
{
    printf("#0006:%d %d %d %d\n",a1,a2,a3,a4);
}

void
arg0(int a1,int a2,int a3,int a4)
{
    arg1(0,1,2,3);
    printf("#0013:%d %d %d %d\n",a1,a2,a3,a4);
}
int
main()
{
    arg0(0,1,2,3);
    return 0;
}