blob: 78378de3229923b6bc8ceeed4d518ffdf77bb351 [file] [log] [blame]
Chris Lattner74550e12002-04-08 15:19:02 +00001int test(int X) {
2 return X;
3}
4
5void abc(int *X);
6int def(int Y, int Z) {
7 abc(&Z);
8 return Y;
9}
10
11struct Test { short X, x; int Y, Z; };
12
13int Testing(struct Test *A) {
14 return A->X+A->Y;
15}
16
17int Test2(int X, struct Test A, int Y) {
18 return X+Y+A.X+A.Y;
19}
20int Test3(struct Test A, struct Test B) {
21 return A.X+A.Y+B.Y+B.Z;
22}
23
24struct Test Test4(struct Test A) {
25 return A;
26}
27
28int Test6() {
29 int B[200];
30 return B[4];
31}
32
33struct STest2 { int X; short Y[4]; double Z; };
34
35struct STest2 Test7(struct STest2 X) {
36 return X;
37}