aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/format-strings.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/format-strings.c')
-rw-r--r--test/Sema/format-strings.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Sema/format-strings.c b/test/Sema/format-strings.c
index c51dafdae5..93b6eb52b2 100644
--- a/test/Sema/format-strings.c
+++ b/test/Sema/format-strings.c
@@ -331,3 +331,9 @@ void pr8641() {
printf("%#x\n", 10);
printf("%#X\n", 10);
}
+
+void posix_extensions() {
+ // Test %'d, "thousands grouping".
+ // <rdar://problem/8816343>
+ printf("%'d\n", 123456789); // no-warning
+}