brintos

brintos / llvm-project-archived public Read only

0
0
Text · 537 B · 2bd1f48 Raw
26 lines · c
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-exception5 6/*7 *  sizeof.c8 *  testObjects9 *10 *  Created by Blaine Garst on 2/17/09.11 *12 */13 14#include <stdio.h>15 16// CONFIG error:17 18int 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