aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2006-04-08 23:26:12 +0000
committerMike Stump <mrs@gcc.gnu.org>2006-04-08 23:26:12 +0000
commitba67b7cd52728c678998367a2feb4f01dd90d4e7 (patch)
tree9747f32f731dba66b3b5f586be092e375d88c6bb /gcc
parentd5848687731e9a0464ddbcbc7284eb45a3dcd013 (diff)
downloadgcc-ba67b7cd52728c678998367a2feb4f01dd90d4e7.zip
gcc-ba67b7cd52728c678998367a2feb4f01dd90d4e7.tar.gz
gcc-ba67b7cd52728c678998367a2feb4f01dd90d4e7.tar.bz2
* objc.dg/method-6.m: Add -Wstrict-selector-match.
From-SVN: r112791
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog2
-rw-r--r--gcc/testsuite/objc.dg/method-6.m2
2 files changed, 4 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 3492c4b..46b2425 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,7 @@
2006-04-08 Mike Stump <mrs@apple.com>
+ * objc.dg/method-6.m: Add -Wstrict-selector-match.
+
* gcc.dg/pragma-darwin.c: Improve for ppc64.
2006-04-07 Richard Guenther <rguenther@suse.de>
diff --git a/gcc/testsuite/objc.dg/method-6.m b/gcc/testsuite/objc.dg/method-6.m
index aa94bac..b7cd89b 100644
--- a/gcc/testsuite/objc.dg/method-6.m
+++ b/gcc/testsuite/objc.dg/method-6.m
@@ -30,3 +30,5 @@ void foo(void) {
[Class port]; /* { dg-error ".Class. is not an Objective\\-C class name or alias" } */
}
+
+/* { dg-options "-Wstrict-selector-match" } */