Debian Codegraph @

gcc/testsuite/c-c++-common/gomp/atomic-31.c

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