2 Purpose: Test error return for bad typedefs.
5 Originator: Blake Chaffin 6/6/2007 */
14 ffi_type
* arg_types
[1];
16 ffi_type badType
= ffi_type_void
;
22 CHECK(ffi_prep_cif(&cif
, FFI_DEFAULT_ABI
, 0, &badType
,
23 arg_types
) == FFI_BAD_TYPEDEF
);