URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [obj-c++.dg/] [typedef-alias-1.mm] - Rev 12
Compare with Previous | Blame | View Log
/* Typedefs of ObjC types should work without any bogus warnings. */
/* { dg-do compile } */
#include <objc/Object.h>
typedef Object MyObject;
int main (int argc, const char * argv[])
{
Object* a = nil;
MyObject* b = a;
Object* c = b;
return 0;
}