I must have missed these when eliminating the cast to bool cannonicalizations
[oota-llvm.git] / test / CFrontend / 2002-04-10-StructParameters.c
1
2 typedef struct {
3   char p;
4   short q;
5   char r;
6   int X;
7   short Y, Z;
8   int Q;
9 } foo;
10
11 int test(foo X, float);
12 int testE(char,short,char,int,int,float);
13 void test3(foo *X) {
14   X->q = 1;
15 }
16
17 void 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