1 /* Test that the initializer of a compound literal is properly walked 2 when tree inlining. */ 3 /* Origin: glibc (as reported in PR c/5105) from <aj@suse.de>. */ 4 5 inline int finite(double __x)6finite (double __x) 7 { 8 return (__extension__ 9 (((((union { double __d; int __i[2]; }) {__d: __x}).__i[1] 10 | 0x800fffffu) + 1) >> 31)); 11 } 12 13 int main(void)14main (void) 15 { 16 double x = 1.0; 17 18 return finite (x); 19 } 20