Daniel Dunbar | 2d6ca8d | 2008-08-21 02:51:29 +0000 | [diff] [blame] | 1 | // RUN: clang %s -emit-llvm -o %t |
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 | }; |