view test/regargs.c @ 560:d6ff45d719a5 string-shared

string sharing
author kono
date Sat, 07 Jan 2006 18:11:53 +0900
parents a379da780856
children a4445cb1aa91
line wrap: on
line source

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


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

int
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);
}

main()
{
    arg0(0,1,2,3);
    return 0;
}