fb39ca4 / picoc

Automatically exported from code.google.com/p/picoc
0 stars 0 forks source link

Implement typedef #52

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
typedef int array_type[4];

array_type fred()
{
   array_type x;

   x[0] = 12;
   x[1] = 34;
   x[2] = 56;
   x[3] = 78;
}

array_type a;

fred(a);
printf("%d %d %d %d\n", a[0], a[1], a[2], a[3]);

Original issue reported on code.google.com by zik.sale...@gmail.com on 4 Oct 2009 at 4:51

GoogleCodeExporter commented 9 years ago
This feature addition has been killed.
This will be done in miniC instead so we can keep picoC small.
http://github.com/zsaleeba/minic

Original comment by zik.sale...@gmail.com on 25 Feb 2010 at 8:27