aarch64: Avoid alloca in target attribute parsing
[official-gcc.git] / gcc / testsuite / objc / execute / np-1.m
bloba14fcc3e6382204183c6c57ac3ee5628e60f652c
1 /*
2  * Contributed by Nicola Pero <n.pero@mi.flashnet.it>
3  * Tue Sep 19 4:29AM
4  */
6 #include <objc/objc.h>
8 @protocol MyProtocol
9 - (oneway void) methodA;
10 @end
12 @interface MyObject <MyProtocol>
13 @end
15 @implementation MyObject
16 - (oneway void) methodA
19 @end
21 int main (void)
23   MyObject *object = nil;
25   [object methodA];
27   return 0;