Fix typo 'getter' where 'setter' was intended.
[llvm.git] / test / FrontendC / 2002-04-10-StructParameters.c
blobaaaba2abdde7b6444ce59093ab5a337bfa146d16
1 // RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
4 typedef struct {
5 char p;
6 short q;
7 char r;
8 int X;
9 short Y, Z;
10 int Q;
11 } foo;
13 int test(foo X, float);
14 int testE(char,short,char,int,int,float);
15 void test3(foo *X) {
16 X->q = 1;
19 void test2(foo Y) {
20 testE(Y.p, Y.q, Y.r, Y.X, Y.Y, 0.1f);
21 test(Y, 0.1f);
22 test2(Y);
23 test3(&Y);