From: Chris Lattner Date: Sat, 11 Apr 2009 19:18:22 +0000 (+0000) Subject: fix test X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=30bdc8762a0e9f69b0d3acf62859731cda07428f;p=clang fix test git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68874 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/SemaObjC/blocks.m b/test/SemaObjC/blocks.m index 73454022ba..b27d65d833 100644 --- a/test/SemaObjC/blocks.m +++ b/test/SemaObjC/blocks.m @@ -39,5 +39,5 @@ void foo7(id (^x)(int)) { @end void foo8() { - ^(itf x) {}; + void *P = ^(itf x) {}; // expected-error {{Objective-C interface type 'itf' cannot be passed by value}} }