view test/tmp12.c @ 885:1a027275743d

struct returinng function have to be indirect.
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 05 Apr 2014 21:12:43 +0900
parents a379da780856
children
line wrap: on
line source

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


struct {
    int a;
    char *b;
} x1;

// int b;

main()
{
    int a;
    x1.a = 1;
    a = 133;
    printf("#0015:%d %d\n",x1.a,a);
    return 0;
}