~vcs-imports/llvm/llvm-gcc-4.2-trunk

« back to all changes in this revision

Viewing changes to gcc/testsuite/obj-c++.dg/class-attribute-1.mm

  • Committer: akirtzidis
  • Date: 2011-10-11 20:18:56 UTC
  • Revision ID: svn-v4:91177308-0d34-0410-b5e6-96231b3b80d8:llvm-gcc-4.2/trunk:141706
Revert r141637, it was meant to go to clang's gcc test-suite.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
__attribute ((deprecated)) void DEP();
24
24
 
25
 
@interface DEPRECATED (Category)
 
25
@interface DEPRECATED (Category)  /* { dg-warning "deprecated" } */
26
26
@end
27
27
 
28
28
@interface NS : DEPRECATED /* { dg-warning "deprecated" } */
29
29
@end
30
30
 
31
 
__attribute ((unavailable)) __attribute ((deprecated)) __attribute ((XXXX)) /* { dg-warning "unknown" } */
32
 
@interface UNAVAILABLE
 
31
__attribute ((unavailable)) __attribute ((deprecated)) __attribute ((XXXX)) 
 
32
@interface UNAVAILABLE   /* { dg-warning "unknown" } */
33
33
  - (int *) AnaotherInst;
34
34
  + (DEPRECATED*) return_deprecated; /* { dg-warning "deprecated" } */
35
 
  - (UNAVAILABLE *) return_unavailable;
 
35
  - (UNAVAILABLE *) return_unavailable;  /* { dg-warning "deprecated" } */
36
36
@end
37
37
 
38
38
DEPRECATED * deprecated_obj; /* { dg-warning "deprecated" } */