xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGen/2007-11-28-GlobalInitializer.c (revision 433d6423c39e34ec4b79c950597bb2d236f886be)
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