URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
/* Do not warn about "slightly" mismatched method signatures if
|
/* Do not warn about "slightly" mismatched method signatures if
|
-Wstrict-selector-match is off. */
|
-Wstrict-selector-match is off. */
|
|
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-Wno-strict-selector-match" } */
|
/* { dg-options "-Wno-strict-selector-match" } */
|
|
|
#include
|
#include
|
|
|
@interface Base
|
@interface Base
|
- (id) meth1: (Base *)arg1;
|
- (id) meth1: (Base *)arg1;
|
- (id) window;
|
- (id) window;
|
@end
|
@end
|
|
|
@interface Derived: Base
|
@interface Derived: Base
|
- (id) meth1: (Derived *)arg1;
|
- (id) meth1: (Derived *)arg1;
|
- (Base *) window;
|
- (Base *) window;
|
@end
|
@end
|
|
|
void foo(void) {
|
void foo(void) {
|
id r;
|
id r;
|
|
|
[r meth1:r];
|
[r meth1:r];
|
[r window];
|
[r window];
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.