[llvm-commits] [llvm-gcc-4.2] r141637 - /llvm-gcc-4.2/trunk/gcc/testsuite/obj-c++.dg/class-attribute-1.mm
Argyrios Kyrtzidis
akyrtzi at gmail.com
Mon Oct 10 20:05:20 PDT 2011
Author: akirtzidis
Date: Mon Oct 10 22:05:20 2011
New Revision: 141637
URL: http://llvm.org/viewvc/llvm-project?rev=141637&view=rev
Log:
Fix gcc test-suite diagnostics after clang commit 141334.
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=141637&r1=141636&r2=141637&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 Mon Oct 10 22:05:20 2011
@@ -22,17 +22,17 @@
__attribute ((deprecated)) void DEP();
- at interface DEPRECATED (Category) /* { dg-warning "deprecated" } */
+ at interface DEPRECATED (Category)
@end
@interface NS : DEPRECATED /* { dg-warning "deprecated" } */
@end
-__attribute ((unavailable)) __attribute ((deprecated)) __attribute ((XXXX))
- at interface UNAVAILABLE /* { dg-warning "unknown" } */
+__attribute ((unavailable)) __attribute ((deprecated)) __attribute ((XXXX)) /* { dg-warning "unknown" } */
+ at interface UNAVAILABLE
- (int *) AnaotherInst;
+ (DEPRECATED*) return_deprecated; /* { dg-warning "deprecated" } */
- - (UNAVAILABLE *) return_unavailable; /* { dg-warning "deprecated" } */
+ - (UNAVAILABLE *) return_unavailable;
@end
DEPRECATED * deprecated_obj; /* { dg-warning "deprecated" } */
More information about the llvm-commits
mailing list