blob: ab14a1dc1d4776318e471bd640559f1b3ea0ecf8 [file] [log] [blame]
Daniel Dunbar2d6ca8d2008-08-21 02:51:29 +00001// RUN: clang %s -emit-llvm -o %t
Nuno Lopes77e1dfc2008-06-06 16:41:08 +00002
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)},
Nuno Lopes77e1dfc2008-06-06 16:41:08 +000012};