blob: 88b57a26478a4e59c9d12dee484c2f6e506a6e90 [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};