[cfe-commits] r44901 - /cfe/trunk/test/Sema/invalid-objc-decls-1.m
Chris Lattner
sabre at nondot.org
Tue Dec 11 17:15:05 PST 2007
Author: lattner
Date: Tue Dec 11 19:15:04 2007
New Revision: 44901
URL: http://llvm.org/viewvc/llvm-project?rev=44901&view=rev
Log:
fix expected errors.
Modified:
cfe/trunk/test/Sema/invalid-objc-decls-1.m
Modified: cfe/trunk/test/Sema/invalid-objc-decls-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/invalid-objc-decls-1.m?rev=44901&r1=44900&r2=44901&view=diff
==============================================================================
--- cfe/trunk/test/Sema/invalid-objc-decls-1.m (original)
+++ cfe/trunk/test/Sema/invalid-objc-decls-1.m Tue Dec 11 19:15:04 2007
@@ -1,29 +1,29 @@
// RUN: clang -fsyntax-only -verify %s
@interface Super @end
-Super s1; // expected-error{{statically allocated Objective-c object 's1'}}
+Super s1; // expected-error{{statically allocated Objective-C object 's1'}}
-extern Super e1; // expected-error{{statically allocated Objective-c object 'e1'}}
+extern Super e1; // expected-error{{statically allocated Objective-C object 'e1'}}
struct S {
- Super s1; // expected-error{{statically allocated Objective-c object 's1'}}
+ Super s1; // expected-error{{statically allocated Objective-C object 's1'}}
};
@protocol P1 @end
@interface INTF
{
- Super ivar1; // expected-error{{statically allocated Objective-c object 'ivar1'}}
+ Super ivar1; // expected-error{{statically allocated Objective-C object 'ivar1'}}
}
@end
@interface MyIntf
{
- Super<P1> ivar1; // expected-error{{statically allocated Objective-c object 'ivar1'}}
+ Super<P1> ivar1; // expected-error{{statically allocated Objective-C object 'ivar1'}}
}
@end
Super foo(Super parm1) {
- Super p1; // expected-error{{statically allocated Objective-c object 'p1'}}
+ Super p1; // expected-error{{statically allocated Objective-C object 'p1'}}
return p1;
}
More information about the cfe-commits
mailing list