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// c99.m
8//
9// CONFIG C99 rdar://problem/6399225
10
11#import <stdio.h>
12#import <stdlib.h>
13
14int main(int argc, char *argv[]) {
15 void (^blockA)(void) = ^ { ; };
16 blockA();
17 printf(format: "%s: success\n", argv[0]);
18 exit(status: 0);
19}
20

source code of compiler-rt/test/BlocksRuntime/c99.c