summaryrefslogtreecommitdiff
path: root/Modules/_ctypes/libffi/testsuite/libffi.call/err_bad_typedef.c
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2017-02-04 16:46:53 -0800
committerSteve Dower <steve.dower@microsoft.com>2017-02-04 16:46:53 -0800
commitb1a1742796fce8078f9f1f3d5e3161122fae3b0a (patch)
tree89c863764481b7c7fbe645be42b16e1d35e92751 /Modules/_ctypes/libffi/testsuite/libffi.call/err_bad_typedef.c
parent391ed6c73cb1964b57d0b538370a76d03d30511b (diff)
parentcf1f5444eb42a8dc252b295d3863288309996a5d (diff)
downloadcpython-b1a1742796fce8078f9f1f3d5e3161122fae3b0a.tar.gz
Merge from 3.6
Diffstat (limited to 'Modules/_ctypes/libffi/testsuite/libffi.call/err_bad_typedef.c')
-rw-r--r--Modules/_ctypes/libffi/testsuite/libffi.call/err_bad_typedef.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/Modules/_ctypes/libffi/testsuite/libffi.call/err_bad_typedef.c b/Modules/_ctypes/libffi/testsuite/libffi.call/err_bad_typedef.c
deleted file mode 100644
index bf60161861..0000000000
--- a/Modules/_ctypes/libffi/testsuite/libffi.call/err_bad_typedef.c
+++ /dev/null
@@ -1,26 +0,0 @@
-/* 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);
-}