1/* Contributed by Nicola Pero <nicola.pero@meta-innovation.com>, January 2011.  */
2/* { dg-do compile } */
3
4#include <objc/objc.h>
5
6@interface MyRootClass
7{
8  Class isa;
9}
10/* Test missing '=' in setter/getter attributes.  */
11@property (getter)  int property_a; /* { dg-error "missing .=. .after .getter. attribute." } */
12@property (setter) int property_b;  /* { dg-error "missing .=. .after .setter. attribute." } */
13@property (assign, getter) int property_c; /* { dg-error "missing .=. .after .getter. attribute." } */
14@end
15