1 /* Test __builtin_tgmath: errors that indicate bad arguments in a call
2 to a type-generic macro, non-DFP. */
3 /* { dg-do compile } */
4 /* { dg-options "" } */
8 long double f_ld (long double);
16 __builtin_tgmath (f_f
, f_d
, f_ld
, p
); /* { dg-error "invalid type of argument" } */
17 __builtin_tgmath (f_f
, f_d
, ld
); /* { dg-error "no matching function for type-generic call" } */
18 __builtin_tgmath (f_f
, f_d
, cf
); /* { dg-error "no matching function for type-generic call" } */