Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm %s -o %t -fblocks |
Fariborz Jahanian | 140fb26 | 2009-04-11 17:55:15 +0000 | [diff] [blame] | 2 | |
3 | void foo (void(^)()); | ||||
4 | |||||
5 | int main() | ||||
6 | { | ||||
7 | foo( | ||||
Chris Lattner | 273cd42 | 2009-04-11 19:49:49 +0000 | [diff] [blame] | 8 | ^() { } |
Fariborz Jahanian | 140fb26 | 2009-04-11 17:55:15 +0000 | [diff] [blame] | 9 | ); |
10 | } |