1 #define __is_constexpr(x) \
2 (sizeof(int) == sizeof(*(8 ? ((void *)((long)(x) * 0l)) : (int *)8)))
3
4 static void test(int x) {
5 static int b[] = {
6 [__builtin_choose_expr(__is_constexpr(1 << 1), 1, x)] = 0,
7 };
8 }
9
10 /*
11 * check-name: constexpr-shift
12 */