summaryrefslogtreecommitdiffstats
path: root/test/input/GNU-float128.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-02-24 21:23:45 (GMT)
committerBrad King <brad.king@kitware.com>2015-02-25 13:41:56 (GMT)
commitfe1bb977eef136daecec0d5717fbd7379f139e8a (patch)
treef0ef6ac508a4d0c664c7d941baca54431e84ca37 /test/input/GNU-float128.c
parent798eeb5e1c15251ab4f82dc754f6ef62d455f746 (diff)
downloadCastXML-fe1bb977eef136daecec0d5717fbd7379f139e8a.zip
CastXML-fe1bb977eef136daecec0d5717fbd7379f139e8a.tar.gz
CastXML-fe1bb977eef136daecec0d5717fbd7379f139e8a.tar.bz2
Detect: Provide __float128 when simulating GNU compilers
GNU compilers provide a __float128 builtin type on Intel architectures. When simulating such GNU compiler preprocessing, define a __float128 type with the expected size and alignment in case the translation unit references it.
Diffstat (limited to 'test/input/GNU-float128.c')
-rw-r--r--test/input/GNU-float128.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/input/GNU-float128.c b/test/input/GNU-float128.c
new file mode 100644
index 0000000..fbb07e1
--- /dev/null
+++ b/test/input/GNU-float128.c
@@ -0,0 +1 @@
+__float128 start(__float128);