URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
/* Check if casting the receiver type causes method lookup to succeed. This was broken
|
/* Check if casting the receiver type causes method lookup to succeed. This was broken
|
in Objective-C++. */
|
in Objective-C++. */
|
/* Contributed by Ziemowit Laski */
|
/* Contributed by Ziemowit Laski */
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
|
|
@interface A
|
@interface A
|
@end
|
@end
|
|
|
@interface B: A
|
@interface B: A
|
- (void)f;
|
- (void)f;
|
@end
|
@end
|
|
|
void g(A *p) { [(B *)p f]; }
|
void g(A *p) { [(B *)p f]; }
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.