aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/darwin-cfstring-format-1.c
diff options
context:
space:
mode:
authorIain Sandoe <iains@gcc.gnu.org>2010-11-23 17:19:15 +0000
committerIain Sandoe <iains@gcc.gnu.org>2010-11-23 17:19:15 +0000
commit8595dc52a0cef2f84e9dcc1e41c96737d90d55e6 (patch)
tree526860301760c5812844fb1f7baeb5a956eb28e9 /gcc/testsuite/gcc.dg/darwin-cfstring-format-1.c
parent4c2187535a6ab54717625f12284c59f3ac76e545 (diff)
downloadgcc-8595dc52a0cef2f84e9dcc1e41c96737d90d55e6.zip
gcc-8595dc52a0cef2f84e9dcc1e41c96737d90d55e6.tar.gz
gcc-8595dc52a0cef2f84e9dcc1e41c96737d90d55e6.tar.bz2
adjust for format string changes.
gcc/testsuite: * gcc.dg/darwin-cfstring-1.c: Adjust format messages. From-SVN: r167088
Diffstat (limited to 'gcc/testsuite/gcc.dg/darwin-cfstring-format-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/darwin-cfstring-format-1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/gcc.dg/darwin-cfstring-format-1.c b/gcc/testsuite/gcc.dg/darwin-cfstring-format-1.c
index 8771d52..6eec438 100644
--- a/gcc/testsuite/gcc.dg/darwin-cfstring-format-1.c
+++ b/gcc/testsuite/gcc.dg/darwin-cfstring-format-1.c
@@ -30,7 +30,7 @@ void foo (void)
{
CFStringRef notchk = CFSTR ("here is an unchecked %d %s string");
s1 (notchk, 5, 6, 7);
- printf("this one is checked %d %s", 3, 4, 5); /* { dg-warning "format .%s. expects type .char .., but argument 3 has type .int." } */
+ printf("this one is checked %d %s", 3, 4, 5); /* { dg-warning "format .%s. expects argument of type .char .., but argument 3 has type .int." } */
/* { dg-warning "too many arguments for format" "" { target *-*-* } 33 } */
- printf(s5 (1, "and so is this %d %d %s", 3, 4, "hey", 6), 5, 6, 12);/* { dg-warning "format .%s. expects type .char .., but argument 4 has type .int." } */
-} \ No newline at end of file
+ printf(s5 (1, "and so is this %d %d %s", 3, 4, "hey", 6), 5, 6, 12);/* { dg-warning "format .%s. expects argument of type .char .., but argument 4 has type .int." } */
+}