tsan: fix deadlock detector lit test output
[blocksruntime.git] / test / BlocksRuntime / orbars.c
blob18a9244452f153f0a31a0343ead6712959b03130
1 //
2 // The LLVM Compiler Infrastructure
3 //
4 // This file is distributed under the University of Illinois Open Source
5 // License. See LICENSE.TXT for details.
7 /*
8 * orbars.c
9 * testObjects
11 * Created by Blaine Garst on 9/17/08.
13 * CONFIG rdar://6276695 error: before ‘|’ token
16 #include <stdio.h>
18 int main(int argc, char *argv[]) {
19 int i = 10;
20 void (^b)(void) = ^(void){ | i | printf("hello world, %d\n", ++i); };
21 printf("%s: success :-(\n", argv[0]);
22 return 0;