URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
/* Typedefs of ObjC types should work without any bogus warnings. */
|
/* Typedefs of ObjC types should work without any bogus warnings. */
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
|
|
#include <objc/Object.h>
|
#include <objc/Object.h>
|
|
|
typedef Object MyObject;
|
typedef Object MyObject;
|
|
|
int main (int argc, const char * argv[])
|
int main (int argc, const char * argv[])
|
{
|
{
|
Object* a = nil;
|
Object* a = nil;
|
MyObject* b = a;
|
MyObject* b = a;
|
Object* c = b;
|
Object* c = b;
|
|
|
return 0;
|
return 0;
|
}
|
}
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.