Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / compiler-rt / test / BlocksRuntime / flagsisa.c
blob29148b27fbcd69f9b4217876efbd3ba5d93b0bfe
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 #include <stdio.h>
8 /* CONFIG rdar://6310599
9 */
11 int main(int argc, char *argv[])
13 __block int flags;
14 __block void *isa;
16 ^{ flags=1; isa = (void *)isa; };
17 printf("%s: success\n", argv[0]);
18 return 0;