repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
objc.dg
/
attributes
/
invalid-attribute-1.m
blob
ec17e9d716c1a81348eb2dc14a116774a5c99b54
1
/* Contributed by Nicola Pero <nicola.pero@meta-innovation.com>, January 2011. */
2
/* { dg-do compile } */
3
4
#include <objc/objc.h>
5
6
__attribute__ ((deprecated)) @class A; /* { dg-error "unexpected attribute before .class." } */