xref: /aosp_15_r20/external/compiler-rt/test/BlocksRuntime/flagsisa.c (revision 7c3d14c8b49c529e04be81a3ce6f5cc23712e4c6)
1*7c3d14c8STreehugger Robot //
2*7c3d14c8STreehugger Robot //                     The LLVM Compiler Infrastructure
3*7c3d14c8STreehugger Robot //
4*7c3d14c8STreehugger Robot // This file is distributed under the University of Illinois Open Source
5*7c3d14c8STreehugger Robot // License. See LICENSE.TXT for details.
6*7c3d14c8STreehugger Robot 
7*7c3d14c8STreehugger Robot #include <stdio.h>
8*7c3d14c8STreehugger Robot 
9*7c3d14c8STreehugger Robot /* CONFIG rdar://6310599
10*7c3d14c8STreehugger Robot  */
11*7c3d14c8STreehugger Robot 
main(int argc,char * argv[])12*7c3d14c8STreehugger Robot int main(int argc, char *argv[])
13*7c3d14c8STreehugger Robot {
14*7c3d14c8STreehugger Robot  	__block int flags;
15*7c3d14c8STreehugger Robot  	__block void *isa;
16*7c3d14c8STreehugger Robot 
17*7c3d14c8STreehugger Robot  	^{ flags=1; isa = (void *)isa; };
18*7c3d14c8STreehugger Robot         printf("%s: success\n", argv[0]);
19*7c3d14c8STreehugger Robot  	return 0;
20*7c3d14c8STreehugger Robot }
21*7c3d14c8STreehugger Robot 
22