[AArch64] PR target/65491: Classify V1TF vectors as AAPCS64 short vectors rather...
[official-gcc.git] / gcc / testsuite / obj-c++.dg / method-3.mm
blob9dab8c5b3324fb7a92ec1c964a8629e5e32742b7
1 /* Do not warn about "slightly" mismatched method signatures if 
2    -Wstrict-selector-match is off.  */
4 /* { dg-do compile } */
5 /* { dg-options "-Wno-strict-selector-match" } */
7 #include <objc/objc.h>
9 @interface Base
10 - (id) meth1: (Base *)arg1;
11 - (id) window;
12 @end
14 @interface Derived: Base
15 - (id) meth1: (Derived *)arg1;
16 - (Base *) window;
17 @end
19 void foo(void) {
20   id r;
22   [r meth1:r];
23   [r window];