blob: e9130c80a90e52941808f846178a5ef17c1db1e3 [file] [log] [blame]
// RUN: clang-cc %s -fsyntax-only -verify
void test() {
char = 4; // expected-error {{expected identifier}}
}
// PR2400
typedef xtype (*zend_stream_fsizer_t)(void* handle); // expected-error {{function cannot return array or function type}} expected-warning {{type specifier missing, defaults to 'int'}} expected-warning {{type specifier missing, defaults to 'int'}}
typedef struct _zend_module_entry zend_module_entry;
struct _zend_module_entry {
xtype globals_size; // expected-error {{field 'globals_size' declared as a function}}
};
zend_module_entry openssl_module_entry = {
sizeof(zend_module_entry)
};