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 * orbars.c
8 * testObjects
9 *
10 * Created by Blaine Garst on 9/17/08.
11 *
12 * CONFIG rdar://6276695 error: before ‘|’ token
13 */
14
15#include <stdio.h>
16
17int main(int argc, char *argv[]) {
18 int i = 10;
19 void (^b)(void) = ^(void){ | i | printf("hello world, %d\n", ++i); };
20 printf(format: "%s: success :-(\n", argv[0]);
21 return 0;
22}
23

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