From f79b23c02713c39a674c472916ca6fd5ae6b63a5 Mon Sep 17 00:00:00 2001
From: mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Sat, 8 Apr 2006 23:26:12 +0000
Subject: [PATCH] 	* objc.dg/method-6.m: Add -Wstrict-selector-match.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112791 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/testsuite/ChangeLog          | 2 ++
 gcc/testsuite/objc.dg/method-6.m | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 3492c4bc33d8..46b242546e52 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 aa94bac67751..b7cd89b866ea 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" } */
-- 
GitLab