test(void)1int test(void) 2 { 3 if (!__builtin_isinf(__builtin_inff())) 4 return 0; 5 if (!__builtin_isinf(__builtin_inf())) 6 return 0; 7 if (!__builtin_isinf(__builtin_infl())) 8 return 0; 9 10 return 1; 11 } 12 13 /* 14 * check-name: builtin_isinf expand 15 * check-command: test-linearize -Wno-decl $file 16 * check-known-to-fail 17 * 18 * check-output-ignore 19 * check-output-contains: ret\\..*\\$1 20 */ 21