llvm-mirror/test/Regression/C++Frontend/pointer_arithmetic.c
Chris Lattner 9a68ce5e89 New testcase
llvm-svn: 6454
2003-05-30 21:03:00 +00:00

22 lines
239 B
C

typedef struct {
int w;
// float x;
// double y;
// long long z;
} S1Ty;
typedef struct {
S1Ty A, B;
} S2Ty;
void takeS1(S1Ty *V) {}
void takeVoid(void *P) {}
int main() {
S2Ty E;
takeS1(&E.B);
takeVoid(&E);
return 0;
}