1 /* Test basic nested C function functionality within ObjC
3 /* Contributed by Ziemowit Laski <zlaski@apple.com>. */
4 /* { dg-options "-lobjc" } */
9 #include <objc/Object.h>
11 int bappy (int (*blargh) (int a, int b, int c))
13 return blargh (4, 7, 2) + 3;
16 @interface Foo: Object
23 int blargh (int a, int b, int c)
27 return bappy (blargh);