blob: f1175946a0ea995412ca8fe91b0b58d960215e8f [file] [log] [blame]
Chris Lattnerb49cebb2002-04-10 17:43:40 +00001
2typedef struct {
3 char p;
4 short q;
5 char r;
6 int X;
7 short Y, Z;
8 int Q;
9} foo;
10
11int test(foo X, float);
12int testE(char,short,char,int,int,float);
13void test3(foo *X) {
14 X->q = 1;
15}
16
17void test2(foo Y) {
18 testE(Y.p, Y.q, Y.r, Y.X, Y.Y, 0.1f);
19 test(Y, 0.1f);
20 test2(Y);
21 test3(&Y);
22}
23