Merge trunk version 201119 into gupc branch.
[official-gcc.git] / gcc / testsuite / objc.dg / attributes / invalid-attribute-1.m
blobec17e9d716c1a81348eb2dc14a116774a5c99b54
1 /* Contributed by Nicola Pero <nicola.pero@meta-innovation.com>, January 2011.  */
2 /* { dg-do compile } */
4 #include <objc/objc.h>
6 __attribute__ ((deprecated)) @class A; /* { dg-error "unexpected attribute before .class." } */