Daniel Dunbar | d7d5f02 | 2009-03-24 02:24:46 +0000 | [diff] [blame] | 1 | // RUN: clang-cc %s -emit-llvm -o - |
Nuno Lopes | 77e1dfc | 2008-06-06 16:41:08 +0000 | [diff] [blame] | 2 | |
3 | typedef struct _zend_ini_entry zend_ini_entry; | ||||
4 | struct _zend_ini_entry { | ||||
5 | void *mh_arg1; | ||||
6 | }; | ||||
7 | |||||
8 | char a; | ||||
9 | |||||
10 | const zend_ini_entry ini_entries[] = { | ||||
11 | { ((char*)&((zend_ini_entry*)0)->mh_arg1 - (char*)(void*)0)}, | ||||
Nuno Lopes | 77e1dfc | 2008-06-06 16:41:08 +0000 | [diff] [blame] | 12 | }; |