blob: 1f84fc16f38f85fd14ae5c5692da0b8dc0c55408 [file] [log] [blame]
Blaine Garst86d0ba42010-08-04 23:34:21 +00001//
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.
6
7/*
8 * sizeof.c
9 * testObjects
10 *
11 * Created by Blaine Garst on 2/17/09.
12 *
13 */
14
15#include <stdio.h>
16
17// CONFIG error:
18
19int main(int argc, char *argv[]) {
20
21 void (^aBlock)(void) = ^{ printf("hellow world\n"); };
22
23 printf("the size of a block is %ld\n", sizeof(*aBlock));
24 printf("%s: success\n", argv[0]);
25 return 0;
26}