Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / compiler-rt / test / BlocksRuntime / shorthandexpression.c
blob5d9aac312beb4a3b98f9d456013c645c0815c467
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
6 /*
7 * shorthandexpression.c
8 * testObjects
10 * Created by Blaine Garst on 9/16/08.
12 * CONFIG error:
16 void foo() {
17 void (^b)(void) = ^(void)printf("hello world\n");
20 int main(int argc, char *argv[]) {
21 printf("%s: this shouldn't compile\n", argv[0]);
22 return 1;