summaryrefslogtreecommitdiff
path: root/gcc/testsuite/objc/execute/compatibility_alias.m
blob: 61d7625122de757238fa867fbcd1ddc869dfc103 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Contributed by Nicola Pero - Thu Mar  8 17:23:59 CET 2001 */
#import "../../objc-obj-c++-shared/Object1.h"
#include <objc/objc.h>

@compatibility_alias MyObject Object;

int main (void)
{
  MyObject *object = [MyObject alloc];

  return 0;
}
#include "../../objc-obj-c++-shared/Object1-implementation.h"