summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/format-strings-0x.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaCXX/format-strings-0x.cpp')
-rw-r--r--clang/test/SemaCXX/format-strings-0x.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/format-strings-0x.cpp b/clang/test/SemaCXX/format-strings-0x.cpp
index 61bdbe188de..9359c7b1f99 100644
--- a/clang/test/SemaCXX/format-strings-0x.cpp
+++ b/clang/test/SemaCXX/format-strings-0x.cpp
@@ -6,7 +6,7 @@ extern int printf(const char *restrict, ...);
}
void f(char **sp, float *fp) {
- scanf("%as", sp); // expected-warning{{conversion specifies type 'float *' but the argument has type 'char **'}}
+ scanf("%as", sp); // expected-warning{{format specifies type 'float *' but the argument has type 'char **'}}
printf("%a", 1.0);
scanf("%afoobar", fp);
OpenPOWER on IntegriCloud