2 * compiler with -f no-inline
7 #define NO_INLINE __attribute__((noinline))
9 #define NO_INLINE __declspec(noinline)
12 static NO_INLINE void func(float a, float b, float *c, float *d);
14 static void func(float a, float b, float *c, float *d) {
19 int main(int argc, char *argv[]) {
22 func(3.0f, 4.0f, &a, &b);
24 printf("a = %f (should be 3.0)\n", a);
25 printf("b = %f (should be 4.0)\n", b);