Debian Codegraph @

gcc/testsuite/c-c++-common/gomp/declare-variant-dup-match-clause.c

raw
1 /* Check that errors are detected if a match clause appears more than once,
2 even if compatible. */
3
4 void f();
5 #pragma omp declare variant(f) match(construct={target}) match(construct={target}) /* { dg-error "too many 'match' clauses" } */
6 void g();