Merged r157653 through r157895 into branch.
[official-gcc.git] / gcc / testsuite / objc / execute / compatibility_alias.m
blobb134f0c85faf495b6567142fd5878acc4d29e3fe
1 /* Contributed by Nicola Pero - Thu Mar  8 17:23:59 CET 2001 */
2 #import "../../objc-obj-c++-shared/Object1.h"
3 #include <objc/objc.h>
5 @compatibility_alias MyObject Object;
7 int main (void)
9   MyObject *object = [MyObject alloc];
11   return 0;