mirror of
https://github.com/nArnoSNES/tcc-65816.git
synced 2024-06-12 13:29:29 +00:00
24 lines
274 B
C
24 lines
274 B
C
struct blah {
|
|
int m1, m2;
|
|
};
|
|
|
|
void die(struct blah arg)
|
|
{
|
|
int i ;
|
|
struct blah buf[1];
|
|
|
|
for (i = 0; i < 1 ; buf[i++] = arg)
|
|
;
|
|
if (buf[0].m1 != 1) {
|
|
abort ();
|
|
}
|
|
}
|
|
|
|
int main()
|
|
{
|
|
struct blah s = { 1, 2 };
|
|
|
|
die(s);
|
|
exit (0);
|
|
}
|