fun(void)1static inline void fun(void) { } 2 3 #define EXPR ({ fun(); 42; }) 4 bar(void)5int bar(void) 6 { 7 // GCC doesn't consider EXPR as a constant 8 return __builtin_constant_p(EXPR); 9 } 10 11 /* 12 * check-name: builtin_constant_inline1 13 * check-command: test-linearize -Wno-decl $file 14 * check-known-to-fail 15 * 16 * check-output-start 17 bar: 18 .L0: 19 <entry-point> 20 ret.32 $0 21 22 23 * check-output-end 24 */ 25