Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / compiler-rt / test / BlocksRuntime / c99.c
blob7370684bac1d955604040b1fae9d9dd47e810353
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 // c99.m
8 //
9 // CONFIG C99 rdar://problem/6399225
11 #import <stdio.h>
12 #import <stdlib.h>
14 int main(int argc, char *argv[]) {
15 void (^blockA)(void) = ^ { ; };
16 blockA();
17 printf("%s: success\n", argv[0]);
18 exit(0);