Temporary fix to test case. This area is currently under construction...test case will be changing again soon.

llvm-svn: 42914
This commit is contained in:
Steve Naroff 2007-10-12 16:15:17 +00:00
parent d502a82092
commit b213da2a70
1 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,10 @@
// RUN: clang %s -fsyntax-only
#import <Foundation/NSObject.h>
typedef struct objc_object *id;
@interface NSObject
+ alloc;
- init;
@end
struct D {
double d;
@ -37,7 +42,7 @@ struct D {
@end
int main() {
id xx = [[Car alloc] init];
id xx = [[Car alloc] init]; // expected-warning {{incompatible types assigning 'int' to 'id'}}
[xx method:4];
}