struct-init.c revision a5728872c7702ddd09537c95bc3cbd20e1f2fb09
1// RUN: %clang_cc1 %s -emit-llvm -o - 2 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)}, 12}; 13