summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/invalid-__has_warning2.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Preprocessor/invalid-__has_warning2.c')
-rw-r--r--clang/test/Preprocessor/invalid-__has_warning2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Preprocessor/invalid-__has_warning2.c b/clang/test/Preprocessor/invalid-__has_warning2.c
index 7d85e5376f9..8aba530c875 100644
--- a/clang/test/Preprocessor/invalid-__has_warning2.c
+++ b/clang/test/Preprocessor/invalid-__has_warning2.c
@@ -1,5 +1,5 @@
// RUN: %clang_cc1 -verify %s
// These must be the last lines in this test.
-// expected-error@+1{{requires a parenthesized string}} expected-error@+1{{expected}}
+// expected-error@+1{{expected string literal}} expected-error@+1{{expected}}
int i = __has_warning();
OpenPOWER on IntegriCloud