aboutsummaryrefslogtreecommitdiff
path: root/test/Misc/error-limit.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Misc/error-limit.c')
-rw-r--r--test/Misc/error-limit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Misc/error-limit.c b/test/Misc/error-limit.c
index 26f4ac1d8a5e..e4ce7aab42e8 100644
--- a/test/Misc/error-limit.c
+++ b/test/Misc/error-limit.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -ferror-limit 1 -fsyntax-only %s 2>&1 | FileCheck %s
+// RUN: not %clang_cc1 -ferror-limit 1 -fsyntax-only %s 2>&1 | FileCheck %s
// error and note emitted
struct s1{};