From b213da2a7092143e5215f0923735e79af2ff8547 Mon Sep 17 00:00:00 2001 From: Steve Naroff Date: Fri, 12 Oct 2007 16:15:17 +0000 Subject: [PATCH] Temporary fix to test case. This area is currently under construction...test case will be changing again soon. llvm-svn: 42914 --- clang/test/Sema/selector-overload.m | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/clang/test/Sema/selector-overload.m b/clang/test/Sema/selector-overload.m index 7cec1c246ec6..e84d21432c6f 100644 --- a/clang/test/Sema/selector-overload.m +++ b/clang/test/Sema/selector-overload.m @@ -1,5 +1,10 @@ // RUN: clang %s -fsyntax-only -#import + +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]; }