summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/fast-math.c
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2013-12-22 22:38:57 +0000
committerAlp Toker <alp@nuanti.com>2013-12-22 22:38:57 +0000
commit054f33c801c6ab1af1ecbaa5236ed7ee234f6cb4 (patch)
tree31b2a736609d0ad3a7d802a68702afffeece9cd5 /clang/test/Driver/fast-math.c
parent13daf1521da1f5e310049e8d4538144ce1188cb2 (diff)
downloadbcm5719-llvm-054f33c801c6ab1af1ecbaa5236ed7ee234f6cb4.tar.gz
bcm5719-llvm-054f33c801c6ab1af1ecbaa5236ed7ee234f6cb4.zip
Make some f_Group definitions anonymous and test an alternative spelling
These names weren't referred to anywhere in the source so don't need a written name. Depends on the TableGen fix for anonymous records in LLVM r197869. llvm-svn: 197896
Diffstat (limited to 'clang/test/Driver/fast-math.c')
-rw-r--r--clang/test/Driver/fast-math.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/Driver/fast-math.c b/clang/test/Driver/fast-math.c
index eba25c8fe85..16b1efcfde6 100644
--- a/clang/test/Driver/fast-math.c
+++ b/clang/test/Driver/fast-math.c
@@ -8,6 +8,9 @@
// REQUIRES: clang-driver
//
// RUN: %clang -### -fno-honor-infinities -c %s 2>&1 \
+// RUN: FileCheck --check-prefix=CHECK-NO-INFS %s
+// infinites [sic] is a supported alternative spelling of infinities.
+// RUN: %clang -### -fno-honor-infinites -c %s 2>&1 \
// RUN: | FileCheck --check-prefix=CHECK-NO-INFS %s
// CHECK-NO-INFS: "-cc1"
// CHECK-NO-INFS: "-menable-no-infs"
OpenPOWER on IntegriCloud