summaryrefslogtreecommitdiffstats
path: root/test/Misc/serialized-diags-no-category.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Misc/serialized-diags-no-category.c')
-rw-r--r--test/Misc/serialized-diags-no-category.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Misc/serialized-diags-no-category.c b/test/Misc/serialized-diags-no-category.c
index 3074892..1b0f204 100644
--- a/test/Misc/serialized-diags-no-category.c
+++ b/test/Misc/serialized-diags-no-category.c
@@ -2,7 +2,7 @@
#error bar
// RUN: rm -f %t
-// RUN: %clang -ferror-limit=1 -fsyntax-only %s --serialize-diagnostics %t > /dev/null 2>&1 || true
+// RUN: not %clang -ferror-limit=1 -fsyntax-only %s --serialize-diagnostics %t > /dev/null 2>&1
// RUN: c-index-test -read-diagnostics %t 2>&1 | FileCheck %s
// This test case tests that we can handle both fatal errors and errors without categories.
OpenPOWER on IntegriCloud