aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNicola Pero <nicola.pero@meta-innovation.com>2010-11-13 15:58:02 +0000
committerNicola Pero <nicola@gcc.gnu.org>2010-11-13 15:58:02 +0000
commit29be86db00f0034f19879e449931cf89a050d4bc (patch)
treeefaa7d4e7039cbc339afc847fe4e01912af58ec6 /gcc
parent5a2a6eb0503f631694426849a94ccb8355c7aad9 (diff)
downloadgcc-29be86db00f0034f19879e449931cf89a050d4bc.zip
gcc-29be86db00f0034f19879e449931cf89a050d4bc.tar.gz
gcc-29be86db00f0034f19879e449931cf89a050d4bc.tar.bz2
method-format-1.mm: Adjust.
2010-11-13 Nicola Pero <nicola.pero@meta-innovation.com> * obj-c++.dg/attributes/method-format-1.mm: Adjust. From-SVN: r166710
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/obj-c++.dg/attributes/method-format-1.mm8
2 files changed, 8 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index e0d8dba..306239a 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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
diff --git a/gcc/testsuite/obj-c++.dg/attributes/method-format-1.mm b/gcc/testsuite/obj-c++.dg/attributes/method-format-1.mm
index 0a078ff..11ce8ee 100644
--- a/gcc/testsuite/obj-c++.dg/attributes/method-format-1.mm
+++ b/gcc/testsuite/obj-c++.dg/attributes/method-format-1.mm
@@ -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" } */
}