ldbl128_06_call_return.c (256B)
1 static long double add_ld(long double a, long double b) { return a + b; } 2 3 static int take_ld(long double x) { return (int)x; } 4 5 int test_main(void) { 6 if (__LDBL_MANT_DIG__ != 113) return 0; 7 long double v = add_ld(30.0L, 12.0L); 8 return take_ld(v); 9 }