summaryrefslogtreecommitdiff
path: root/gcc/testsuite/objc.dg/alias.m
blob: a57d032eb377f3cf29251b5de318b5c41680e4e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* Test alias warnings.  */
/* { dg-do compile } */

@compatibility_alias class1 class2; /* { dg-warning "annot find class" } */

@interface class3;
@end

@interface class4;
@end

@compatibility_alias class4 class3;  /* { dg-warning "lass" "already exists" } */