OSDN Git Service

2010-11-13 Nicola Pero <nicola.pero@meta-innovation.com>
authornicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 13 Nov 2010 15:58:02 +0000 (15:58 +0000)
committernicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 13 Nov 2010 15:58:02 +0000 (15:58 +0000)
        * obj-c++.dg/attributes/method-format-1.mm: Adjust.

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

gcc/testsuite/ChangeLog
gcc/testsuite/obj-c++.dg/attributes/method-format-1.mm

index e0d8dba..306239a 100644 (file)
@@ -1,5 +1,9 @@
 2010-11-13  Nicola Pero  <nicola.pero@meta-innovation.com>
 
+       * obj-c++.dg/attributes/method-format-1.mm: Adjust.
+
+2010-11-13  Nicola Pero  <nicola.pero@meta-innovation.com>
+
        * objc/compile/20060406-1.m: Fixed testcase not to try to qualify
        a pointer to an arbitrary C struct with an Objective-C protocol.
        Test various valid uses of typedef with Objective-C objects and
index 0a078ff..11ce8ee 100644 (file)
@@ -27,17 +27,17 @@ void test (LogObject *object)
 {
   [object log: 2  message: "attribute only applies to variadic functions"];
   [object log: 2  message: "attribute %s only applies to variadic functions", "'format'"];
-  [object log: 2  message: "attribute %s only applies to variadic functions"]; /* { dg-warning "too few arguments for format" } */
+  [object log: 2  message: "attribute %s only applies to variadic functions"]; /* { dg-warning "expects a matching" } */
 
   [object debug: "attribute only applies to variadic functions"];
   [object debug: "attribute %s only applies to variadic functions", "'format'"];
-  [object debug: "attribute %s only applies to variadic functions"]; /* { dg-warning "too few arguments for format" } */
+  [object debug: "attribute %s only applies to variadic functions"]; /* { dg-warning "expects a matching" } */
 
   [LogObject log: 2  message: "attribute only applies to variadic functions"];
   [LogObject log: 2  message: "attribute %s only applies to variadic functions", "'format'"];
-  [LogObject log: 2  message: "attribute %s only applies to variadic functions"]; /* { dg-warning "too few arguments for format" } */
+  [LogObject log: 2  message: "attribute %s only applies to variadic functions"]; /* { dg-warning "expects a matching" } */
 
   [LogObject debug: "attribute only applies to variadic functions"];
   [LogObject debug: "attribute %s only applies to variadic functions", "'format'"];
-  [LogObject debug: "attribute %s only applies to variadic functions"]; /* { dg-warning "too few arguments for format" } */
+  [LogObject debug: "attribute %s only applies to variadic functions"]; /* { dg-warning "expects a matching" } */
 }