From: Steve Naroff Date: Fri, 12 Oct 2007 16:15:17 +0000 (+0000) Subject: Temporary fix to test case. This area is currently under construction...test case... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=075878af57a14fb4e8b9313b0187c7782a2f9006;p=clang Temporary fix to test case. This area is currently under construction...test case will be changing again soon. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42914 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Sema/selector-overload.m b/test/Sema/selector-overload.m index 7cec1c246e..e84d21432c 100644 --- a/test/Sema/selector-overload.m +++ b/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]; }