24 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 * shorthandexpression.c8 * testObjects9 *10 * Created by Blaine Garst on 9/16/08.11 *12 * CONFIG error:13 */14 15 16void foo() {17 void (^b)(void) = ^(void)printf("hello world\n");18}19 20int main(int argc, char *argv[]) {21 printf("%s: this shouldn't compile\n", argv[0]);22 return 1;23}24