blob: cb84fef4d1c1566ae7c2a9def683de4b80079963 [file] [log] [blame]
Daniel Dunbard7d5f022009-03-24 02:24:46 +00001// RUN: clang-cc %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};