tsan: fix deadlock detector lit test output
[blocksruntime.git] / test / BlocksRuntime / sizeof.c
blob1f84fc16f38f85fd14ae5c5692da0b8dc0c55408
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 * sizeof.c
9 * testObjects
11 * Created by Blaine Garst on 2/17/09.
15 #include <stdio.h>
17 // CONFIG error:
19 int main(int argc, char *argv[]) {
21 void (^aBlock)(void) = ^{ printf("hellow world\n"); };
23 printf("the size of a block is %ld\n", sizeof(*aBlock));
24 printf("%s: success\n", argv[0]);
25 return 0;