struct-init.c revision 2bc00252d7597af32c84599076e4d14e678aaa8a
1// RUN: %clang_cc1 %s -emit-llvm -o -
2
3typedef struct _zend_ini_entry zend_ini_entry;
4struct _zend_ini_entry {
5  void *mh_arg1;
6};
7
8char a;
9
10const zend_ini_entry ini_entries[] = {
11  {  ((char*)&((zend_ini_entry*)0)->mh_arg1 - (char*)(void*)0)},
12};
13
14// PR7564
15struct GLGENH {
16  int : 27;
17  int EMHJAA : 1;
18};
19
20struct GLGENH ABHFBF = {1};
21