1 2 3 4 5 6 7 8 9 10 11
/* c/104531 */ /* { dg-do compile } */ int x; void foo (_Complex int y) { #pragma omp atomic compare /* { dg-error "invalid operands" } */ x = x > y ? y : x; }