Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/objc.dg/selector-warn-1.m @ 118:fd00160c1b76
ifdef TARGET_64BIT
author | mir3636 |
---|---|
date | Tue, 27 Feb 2018 15:01:35 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* Contributed by Nicola Pero <nicola.pero@meta-innovation.com>, January 2011. */ /* { dg-options "-Wselector" } */ /* { dg-do compile } */ #include <objc/objc.h> @interface RootObject @end @interface MyObject : RootObject - (void) method; /* { dg-message "found" } */ @end @interface MyObject2 : RootObject - (int) method; /* { dg-message "also found" } */ @end /* { dg-warning "multiple selectors named .-method. found" } */