C compiler with embedded metalanguage.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

19 lines
216 B

int a[] = {5, [2] = 2, 3};
int
main()
{
if (sizeof(a) != 4*sizeof(int))
return 1;
if (a[0] != 5)
return 2;
if (a[1] != 0)
return 3;
if (a[2] != 2)
return 4;
if (a[3] != 3)
return 5;
return 0;
}