OSDN Git Service

adjust for format string changes.
authoriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Nov 2010 17:19:15 +0000 (17:19 +0000)
committeriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Nov 2010 17:19:15 +0000 (17:19 +0000)
gcc/testsuite:

* gcc.dg/darwin-cfstring-1.c: Adjust format messages.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167088 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/darwin-cfstring-format-1.c

index 72ea1c5..63c2d0b 100644 (file)
@@ -1,3 +1,7 @@
+2010-11-23  Iain Sandoe  <iains@gcc.gnu.org>
+
+       * gcc.dg/darwin-cfstring-1.c: Adjust format messages.
+
 2010-11-23  Jakub Jelinek  <jakub@redhat.com>
 
        PR middle-end/46499
index 8771d52..6eec438 100644 (file)
@@ -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." } */
+}