summaryrefslogtreecommitdiff
path: root/gcc/testsuite/objc.dg/attributes/invalid-attribute-1.m
blob: ec17e9d716c1a81348eb2dc14a116774a5c99b54 (plain)
1
2
3
4
5
6
/* Contributed by Nicola Pero <nicola.pero@meta-innovation.com>, January 2011.  */
/* { dg-do compile } */

#include <objc/objc.h>

__attribute__ ((deprecated)) @class A; /* { dg-error "unexpected attribute before .class." } */