• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //
2 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
3 // See https://llvm.org/LICENSE.txt for license information.
4 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
5 
6 /*
7  *  sizeof.c
8  *  testObjects
9  *
10  *  Created by Blaine Garst on 2/17/09.
11  *
12  */
13 
14 #include <stdio.h>
15 
16 // CONFIG error:
17 
main(int argc,char * argv[])18 int main(int argc, char *argv[]) {
19 
20     void (^aBlock)(void) = ^{ printf("hellow world\n"); };
21 
22     printf("the size of a block is %ld\n", sizeof(*aBlock));
23     printf("%s: success\n", argv[0]);
24     return 0;
25 }
26