URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 308 |
Rev 519 |
/* Don't forget to look in protocols if a class (and its superclasses) do not
|
/* Don't forget to look in protocols if a class (and its superclasses) do not
|
provide a suitable method. */
|
provide a suitable method. */
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
|
|
#include "../objc-obj-c++-shared/Object1.h"
|
#include "../objc-obj-c++-shared/Object1.h"
|
|
|
@protocol Zot
|
@protocol Zot
|
-(void) zot;
|
-(void) zot;
|
@end
|
@end
|
|
|
@interface Foo : Object
|
@interface Foo : Object
|
@end
|
@end
|
|
|
int foo()
|
int foo()
|
{
|
{
|
Foo *f=nil;
|
Foo *f=nil;
|
[f zot]; /* There should be no warnings here! */
|
[f zot]; /* There should be no warnings here! */
|
return 0;
|
return 0;
|
}
|
}
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.