[cfe-commits] r68874 - /cfe/trunk/test/SemaObjC/blocks.m
Chris Lattner
sabre at nondot.org
Sat Apr 11 12:18:22 PDT 2009
Author: lattner
Date: Sat Apr 11 14:18:22 2009
New Revision: 68874
URL: http://llvm.org/viewvc/llvm-project?rev=68874&view=rev
Log:
fix test
Modified:
cfe/trunk/test/SemaObjC/blocks.m
Modified: cfe/trunk/test/SemaObjC/blocks.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaObjC/blocks.m?rev=68874&r1=68873&r2=68874&view=diff
==============================================================================
--- cfe/trunk/test/SemaObjC/blocks.m (original)
+++ cfe/trunk/test/SemaObjC/blocks.m Sat Apr 11 14:18:22 2009
@@ -39,5 +39,5 @@
@end
void foo8() {
- ^(itf x) {};
+ void *P = ^(itf x) {}; // expected-error {{Objective-C interface type 'itf' cannot be passed by value}}
}
More information about the cfe-commits
mailing list