xref: /aosp_15_r20/external/clang/test/CodeGen/2007-11-28-GlobalInitializer.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
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