gcc/testsuite/g++.dg/gomp/adjust-args-3.C
raw| 1 | // Check that an adjust_args clause does not lead to an ICE when the match |
| 2 | // clause is missing. |
| 3 | |
| 4 | void f(int *, int *, int *); |
| 5 | #pragma omp declare variant(f) adjust_args(need_device_ptr: xxx) /* { dg-error "an 'adjust_args' clause requires a 'match' clause" } */ |
| 6 | void g(int *xxx, int *yyy, int *zzz); |