blob: 09efb37927a81cd8647d350a4c9227e168a6108c [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 -emit-llvm %s -o %t -fblocks
Fariborz Jahanian140fb262009-04-11 17:55:15 +00002
3void foo (void(^)());
4
5int main()
6{
7foo(
Chris Lattner273cd422009-04-11 19:49:49 +00008 ^() { }
Fariborz Jahanian140fb262009-04-11 17:55:15 +00009);
10}