1 /* Tests related to qualifiers and pointers to arrays in C23, PR98397 */
2 /* { dg-do compile } */
3 /* { dg-options "-std=c23 -pedantic-errors" } */
5 /* test that _Atomic qualifier is not preserved in tertiary operator for pointers to arrays in C23 */
11 _Static_assert(_Generic(1 ? u
: v
, _Atomic
void*: 0, void*: 1), "_Atomic should be removed");
12 _Static_assert(_Generic(1 ? v
: u
, _Atomic
void*: 0, void*: 1), "_Atomic should be removed");