[llvm-commits] [llvm-gcc-4.2] r141706 - /llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg/class-attribute-1.mm
Argyrios Kyrtzidis
akyrtzi at gmail.com
Tue Oct 11 13:18:56 PDT 2011
Author: akirtzidis
Date: Tue Oct 11 15:18:56 2011
New Revision: 141706
URL: http://llvm.org/viewvc/llvm-project?rev=141706&view=rev
Log:
Revert r141637, it was meant to go to clang's gcc test-suite.
Modified:
llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg/class-attribute-1.mm
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg/class-attribute-1.mm
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/obj-c%2B%2B.dg/class-attribute-1.mm?rev=141706&r1=141705&r2=141706&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg/class-attribute-1.mm (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg/class-attribute-1.mm Tue Oct 11 15:18:56 2011
@@ -22,17 +22,17 @@
__attribute ((deprecated)) void DEP();
- at interface DEPRECATED (Category)
+ at interface DEPRECATED (Category) /* { dg-warning "deprecated" } */
@end
@interface NS : DEPRECATED /* { dg-warning "deprecated" } */
@end
-__attribute ((unavailable)) __attribute ((deprecated)) __attribute ((XXXX)) /* { dg-warning "unknown" } */
- at interface UNAVAILABLE
+__attribute ((unavailable)) __attribute ((deprecated)) __attribute ((XXXX))
+ at interface UNAVAILABLE /* { dg-warning "unknown" } */
- (int *) AnaotherInst;
+ (DEPRECATED*) return_deprecated; /* { dg-warning "deprecated" } */
- - (UNAVAILABLE *) return_unavailable;
+ - (UNAVAILABLE *) return_unavailable; /* { dg-warning "deprecated" } */
@end
DEPRECATED * deprecated_obj; /* { dg-warning "deprecated" } */
More information about the llvm-commits
mailing list