Sha256: 122d7771c6aadf0ce1bb3fd6c396dd69fd5480969eb87908347321935dd11a6a

Contents?: true

Size: 435 Bytes

Versions: 5647

Compression:

Stored size: 435 Bytes

Contents

/* Area:		ffi_prep_cif
   Purpose:		Test error return for bad typedefs.
   Limitations:	none.
   PR:			none.
   Originator:	Blake Chaffin 6/6/2007	 */

/* { dg-do run } */

#include "ffitest.h"

int main (void)
{
	ffi_cif cif;
	ffi_type* arg_types[1];

	ffi_type	badType	= ffi_type_void;

	arg_types[0] = NULL;

	badType.size = 0;

	CHECK(ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 0, &badType,
		arg_types) == FFI_BAD_TYPEDEF);

	exit(0);
}

Version data entries

5,647 entries across 5,630 versions & 42 rubygems

Version Path
ffi-1.12.1 ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c
ffi-1.12.0 ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/ffi-1.11.1/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/ffi-1.11.3/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c
ffi-1.11.3 ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c
vagrant-unbundled-2.2.6.2 vendor/bundle/ruby/2.6.0/gems/ffi-1.11.1/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c
ffi-1.11.2 ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/ffi-1.11.1/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c
chatops-rpc-0.0.2 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/ffi-1.11.1/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c
chatops-rpc-0.0.1 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/ffi-1.11.1/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/ffi-1.11.1/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c
vagrant-unbundled-2.2.6.1 vendor/bundle/ruby/2.6.0/gems/ffi-1.11.1/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c
vagrant-unbundled-2.2.6.0 vendor/bundle/ruby/2.6.0/gems/ffi-1.11.1/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c
zuora_connect_ui-0.9.0 vendor/ruby/2.6.0/gems/ffi-1.11.1/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c
cloudsmith-api-0.44.4 vendor/bundle/ruby/2.3.0/gems/ffi-1.11.1/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c
zuora_connect_ui-0.8.3 vendor/ruby/2.6.0/gems/ffi-1.11.1/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c
vagrant-unbundled-2.2.5.0 vendor/bundle/ruby/2.6.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c
vagrant-unbundled-2.2.5.0 vendor/bundle/ruby/2.5.0/gems/ffi-1.9.25/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c
vagrant-unbundled-2.2.5.0 vendor/bundle/ruby/2.5.0/gems/ffi-1.10.0/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c
zuora_connect_ui-0.8.2 vendor/ruby/2.6.0/gems/ffi-1.11.1/ext/ffi_c/libffi/testsuite/libffi.call/err_bad_typedef.c