blob: 79db8765ead812ec919eacf55826d0ad4468c44b [file] [log] [blame]
/* Typedefs of ObjC types should work without any bogus warnings. */
/* { dg-do compile } */
#include "../objc-obj-c++-shared/Object1.h"
typedef Object MyObject;
int main (int argc, const char * argv[])
{
Object* a = nil;
MyObject* b = a;
Object* c = b;
return 0;
}