summaryrefslogtreecommitdiff
path: root/libffi/testsuite/libffi.complex/complex_defs_longdouble.inc
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2015-01-12 08:19:59 -0800
committerRichard Henderson <rth@gcc.gnu.org>2015-01-12 08:19:59 -0800
commitb1760f7f915a36ee9b4636fb54719c9b3ae59356 (patch)
tree1a64d747b069bdebf651d856989dd40a54daf0cc /libffi/testsuite/libffi.complex/complex_defs_longdouble.inc
parent62e22fcb7985349b93646b86351033e1fb09c46c (diff)
Merge libffi to upstream commit c82cc159426d8d4402375fa1ae3f045b9cf82e16
From-SVN: r219477
Diffstat (limited to 'libffi/testsuite/libffi.complex/complex_defs_longdouble.inc')
-rw-r--r--libffi/testsuite/libffi.complex/complex_defs_longdouble.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/libffi/testsuite/libffi.complex/complex_defs_longdouble.inc b/libffi/testsuite/libffi.complex/complex_defs_longdouble.inc
new file mode 100644
index 00000000000..14b9f243f48
--- /dev/null
+++ b/libffi/testsuite/libffi.complex/complex_defs_longdouble.inc
@@ -0,0 +1,7 @@
+/* -*-c-*- */
+/* Complex base type. */
+#define T_FFI_TYPE ffi_type_complex_longdouble
+/* C type corresponding to the base type. */
+#define T_C_TYPE long double
+/* C cast for a value of type T_C_TYPE that is passed to printf. */
+#define T_CONV