blob: 926e5a7f5dd9b64bd51a5043e22dc43149463977 [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 %s -emit-llvm -o -
Nuno Lopes77e1dfc2008-06-06 16:41:08 +00002
3typedef struct _zend_ini_entry zend_ini_entry;
4struct _zend_ini_entry {
Mike Stump1eb44332009-09-09 15:08:12 +00005 void *mh_arg1;
Nuno Lopes77e1dfc2008-06-06 16:41:08 +00006};
7
8char a;
9
10const zend_ini_entry ini_entries[] = {
Mike Stump1eb44332009-09-09 15:08:12 +000011 { ((char*)&((zend_ini_entry*)0)->mh_arg1 - (char*)(void*)0)},
Nuno Lopes77e1dfc2008-06-06 16:41:08 +000012};
Chris Lattner2bc00252010-07-05 18:03:30 +000013
14// PR7564
15struct GLGENH {
16 int : 27;
17 int EMHJAA : 1;
18};
19
20struct GLGENH ABHFBF = {1};