Fix test case (incomplete "expected-warning" line)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62119 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Sema/format-strings.c b/test/Sema/format-strings.c
index 19c29db..9e558e9 100644
--- a/test/Sema/format-strings.c
+++ b/test/Sema/format-strings.c
@@ -34,7 +34,7 @@
void check_conditional_literal(const char* s, int i) {
printf(i == 1 ? "yes" : "no"); // no-warning
printf(i == 0 ? (i == 1 ? "yes" : "no") : "dont know"); // no-warning
- printf(i == 0 ? (i == 1 ? s : "no") : "dont know"); // expected-warning
+ printf(i == 0 ? (i == 1 ? s : "no") : "dont know"); // expected-warning{{format string is not a string literal}}
}
void check_writeback_specifier()