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
In gcc/: 2011-01-09 Nicola Pero <nicola.pero@meta-innovation.com>
[official-gcc.git]
/
gcc
/
testsuite
/
obj-c++.dg
/
attributes
/
invalid-attribute-1.mm
blob
96ee178d760cf2113c4891c6fadbb88b61ad9f0c
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 "attributes may not be specified before the ..class. Objective-C.. keyword" } */