summaryrefslogtreecommitdiffstats
path: root/test/expect/gccxml.c89.GNU-float128.xml.txt
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/expect/gccxml.c89.GNU-float128.xml.txt
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/expect/gccxml.c89.GNU-float128.xml.txt')
-rw-r--r--test/expect/gccxml.c89.GNU-float128.xml.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/expect/gccxml.c89.GNU-float128.xml.txt b/test/expect/gccxml.c89.GNU-float128.xml.txt
new file mode 100644
index 0000000..8195cff
--- /dev/null
+++ b/test/expect/gccxml.c89.GNU-float128.xml.txt
@@ -0,0 +1,13 @@
+^<\?xml version="1.0"\?>
+<GCC_XML[^>]*>
+ <Function id="_1" name="start" returns="_2" context="_3" location="f1:1" file="f1" line="1">
+ <Argument type="_2" location="f1:1" file="f1" line="1"/>
+ </Function>
+ <Typedef id="_2" name="__float128" type="_4" context="_3"/>
+ <Struct id="_4" name="" context="_3" members="_5"/>
+ <Field id="_5" name="x" type="_6" context="_4" access="public"/>
+ <ArrayType id="_6" min="0" max="15" type="_7"/>
+ <FundamentalType id="_7" name="char"/>
+ <Namespace id="_3" name="::"/>
+ <File id="f1" name=".*/test/input/GNU-float128.c"/>
+</GCC_XML>$