2 // The LLVM Compiler Infrastructure
4 // This file is distributed under the University of Illinois Open Source
5 // License. See LICENSE.TXT for details.
9 // test that byref access to locals is accurate
12 // Created by Blaine Garst on 5/13/08.
19 void callVoidVoid(void (^closure
)(void)) {
23 int main(int argc
, char *argv
[]) {
26 callVoidVoid(^{ ++i
; });
29 printf("*** %s didn't update i\n", argv
[0]);
32 printf("%s: success\n", argv
[0]);