Test case distilled from `bash'.
[oota-llvm.git] / test / C++Frontend / pointer_arithmetic.c
1 typedef struct {
2   int w;
3 //  float x;
4 //  double y;
5 //  long long z;
6 } S1Ty;
7
8 typedef struct {
9   S1Ty A, B;
10 } S2Ty;
11
12 void takeS1(S1Ty *V) {}
13 void takeVoid(void *P) {}
14
15 int main() {
16   S2Ty E;
17   takeS1(&E.B);
18   takeVoid(&E);
19   return 0;
20 }
21