1 /* As bconstp-1.c, but with the __builtin_constant_p calls inside
2 __builtin_choose_expr. */
3 /* { dg-do compile } */
5 /* This test checks that builtin_constant_p can be used safely in
6 initializers for static data. The macro X() defined below should
7 be an acceptable initializer expression no matter how complex its
16 #define X(exp) (__builtin_choose_expr(1, __builtin_constant_p(exp), 1) ? (exp) : -1)
18 const short tests
[] = {