2 // The LLVM Compiler Infrastructure
4 // This file is distributed under the University of Illinois Open Source
5 // License. See LICENSE.TXT for details.
11 // Created by Blaine Garst on 6/24/08.
13 // pure C nothing more needed
23 void callVoidVoid(void (^closure
)(void)) {
27 int main(int argc
, char *argv
[]) {
32 callVoidVoid(^{ Global
= i
; });
39 printf("%s: error, Global not set to captured value\n", argv
[0]);
42 printf("%s: success\n", argv
[0]);