summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/clang_f_opts.c
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2013-02-06 18:15:40 +0000
committerJordan Rose <jordan_rose@apple.com>2013-02-06 18:15:40 +0000
commitdd77041973fde6e27ce25af6950148c575eb4c69 (patch)
tree4da69df842b0f82c349b62b824e1664078d2cb5c /clang/test/Driver/clang_f_opts.c
parentcb680661eb84cb0b034a55678a3445aede52bf8c (diff)
downloadbcm5719-llvm-dd77041973fde6e27ce25af6950148c575eb4c69.tar.gz
bcm5719-llvm-dd77041973fde6e27ce25af6950148c575eb4c69.zip
Accept and ignore the -fextended-identifiers option.
This was GCC's option to turn on UCN support, which we always have on now in C99 and C++ modes. Additionally, mark the -fno-extended-identifiers option as unsupported, since we don't support disabling UCNs in C99 and C++ modes. PR11538 llvm-svn: 174530
Diffstat (limited to 'clang/test/Driver/clang_f_opts.c')
-rw-r--r--clang/test/Driver/clang_f_opts.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/Driver/clang_f_opts.c b/clang/test/Driver/clang_f_opts.c
index 95204f26400..1bd2e140b20 100644
--- a/clang/test/Driver/clang_f_opts.c
+++ b/clang/test/Driver/clang_f_opts.c
@@ -57,3 +57,9 @@
// RUN: %clang -### -S -ftree-slp-vectorize -fno-slp-vectorize %s 2>&1 | FileCheck -check-prefix=CHECK-NO-SLP-VECTORIZE %s
// CHECK-SLP-VECTORIZE: "-vectorize"
// CHECK-NO-SLP-VECTORIZE-NOT: "-vectorize"
+
+// RUN: %clang -### -S -fextended-identifiers %s 2>&1 | FileCheck -check-prefix=CHECK-EXTENDED-IDENTIFIERS %s
+// RUN: %clang -### -S -fno-extended-identifiers %s 2>&1 | FileCheck -check-prefix=CHECK-NO-EXTENDED-IDENTIFIERS %s
+// CHECK-EXTENDED-IDENTIFIERS: "-cc1"
+// CHECK-EXTENDED-IDENTIFIERS-NOT: "-fextended-identifiers"
+// CHECK-NO-EXTENDED-IDENTIFIERS: error: unsupported option '-fno-extended-identifiers'
OpenPOWER on IntegriCloud