| 1 | // RUN: %clang_cc1 -emit-llvm %s -o - |
|---|---|
| 2 | // PR1744 |
| 3 | typedef struct foo { int x; char *p; } FOO; |
| 4 | extern FOO yy[]; |
| 5 | |
| 6 | int *y = &((yy + 1)->x); |
| 7 | void *z = &((yy + 1)->x); |
| 8 | |
| 9 |
| 1 | // RUN: %clang_cc1 -emit-llvm %s -o - |
|---|---|
| 2 | // PR1744 |
| 3 | typedef struct foo { int x; char *p; } FOO; |
| 4 | extern FOO yy[]; |
| 5 | |
| 6 | int *y = &((yy + 1)->x); |
| 7 | void *z = &((yy + 1)->x); |
| 8 | |
| 9 |