summaryrefslogtreecommitdiffstats
path: root/clang/test/Frontend/diagnostics-order.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Frontend/diagnostics-order.c')
-rw-r--r--clang/test/Frontend/diagnostics-order.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/clang/test/Frontend/diagnostics-order.c b/clang/test/Frontend/diagnostics-order.c
index e557fc631de..37c0cd90d15 100644
--- a/clang/test/Frontend/diagnostics-order.c
+++ b/clang/test/Frontend/diagnostics-order.c
@@ -2,9 +2,11 @@
// Previously, these diagnostics were grouped by diagnostic level with all
// notes last.
//
-// RUN: not %clang_cc1 -O999 -std=bogus %s 2> %t
+// RUN: not %clang_cc1 -O999 -std=bogus -verify=-foo %s 2> %t
// RUN: FileCheck < %t %s
//
-// CHECK: warning: optimization level '-O999' is not supported
+// CHECK: error: invalid value '-foo' in '-verify='
+// CHECK-NEXT: note: -verify prefixes must start with a letter and contain only alphanumeric characters, hyphens, and underscores
+// CHECK-NEXT: warning: optimization level '-O999' is not supported
// CHECK-NEXT: error: invalid value 'bogus' in '-std=bogus'
// CHECK-NEXT: note: use {{.*}} for {{.*}} standard
OpenPOWER on IntegriCloud