summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/float128-declarations.cpp
diff options
context:
space:
mode:
authorBrad Smith <brad@comstyle.com>2017-02-20 03:18:15 +0000
committerBrad Smith <brad@comstyle.com>2017-02-20 03:18:15 +0000
commit0561a5a7fe5e5d5a9f8acaf40871b6f48c5053c0 (patch)
treee78aebbd39deb6c71516d56e50f1510b60e424c5 /clang/test/CodeGenCXX/float128-declarations.cpp
parent5b4e36aafaa171849c4737a6faa693de02b718ab (diff)
downloadbcm5719-llvm-0561a5a7fe5e5d5a9f8acaf40871b6f48c5053c0.tar.gz
bcm5719-llvm-0561a5a7fe5e5d5a9f8acaf40871b6f48c5053c0.zip
Enable support for __float128 in Clang on OpenBSD/X86
/usr/local/include/c++/4.9.4/type_traits:279:39: error: __float128 is not supported on this target llvm-svn: 295635
Diffstat (limited to 'clang/test/CodeGenCXX/float128-declarations.cpp')
-rw-r--r--clang/test/CodeGenCXX/float128-declarations.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/CodeGenCXX/float128-declarations.cpp b/clang/test/CodeGenCXX/float128-declarations.cpp
index e1604a61cac..f1db8f41c60 100644
--- a/clang/test/CodeGenCXX/float128-declarations.cpp
+++ b/clang/test/CodeGenCXX/float128-declarations.cpp
@@ -8,6 +8,10 @@
// RUN: %s -o - | FileCheck %s -check-prefix=CHECK-X86
// RUN: %clang_cc1 -emit-llvm -triple systemz-unknown-linux-gnu -std=c++11 \
// RUN: %s -o - | FileCheck %s -check-prefix=CHECK-SYSZ
+// RUN: %clang_cc1 -emit-llvm -triple i686-pc-openbsd -std=c++11 \
+// RUN: %s -o - | FileCheck %s -check-prefix=CHECK-X86
+// RUN: %clang_cc1 -emit-llvm -triple amd64-pc-openbsd -std=c++11 \
+// RUN: %s -o - | FileCheck %s -check-prefix=CHECK-X86
//
/* Various contexts where type __float128 can appear. The different check
prefixes are due to different mangling on X86 and different calling
OpenPOWER on IntegriCloud