2007-03-01 Paul Brook <paul@codesourcery.com>
[official-gcc.git] / gcc / testsuite / objc.dg / typedef-alias-1.m
blobbeed72701219fc00b94284b995f7afe55afe62b6
1 /* Typedefs of ObjC types should work without any bogus warnings. */
2 /* { dg-do compile } */
4 #include <objc/Object.h>
6 typedef Object MyObject;
8 int main (int argc, const char * argv[])
10     Object* a = nil;
11     MyObject* b = a;
12     Object* c = b;
14     return 0;