aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/format-strings-fixit.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/format-strings-fixit.c')
-rw-r--r--test/Sema/format-strings-fixit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Sema/format-strings-fixit.c b/test/Sema/format-strings-fixit.c
index bbdd4d8105..84f69f059e 100644
--- a/test/Sema/format-strings-fixit.c
+++ b/test/Sema/format-strings-fixit.c
@@ -15,6 +15,8 @@ void test() {
printf("abc%0f", "testing testing 123");
printf("%u", (long) -12);
printf("%p", 123);
+ printf("%c\n", "x");
+ printf("%c\n", 1.23);
// Larger types
printf("%+.2d", (unsigned long long) 123456);