blob: 3484478567c38b8a8b0da7e7805d531a512c1214 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* { dg-do compile { target { c || c++11 } } } */
/* { dg-additional-options "-std=c23" { target c } } */
/* { dg-additional-options "-fdump-tree-original" } */
constexpr int flag = 1;
void f() {
#pragma omp metadirective when(user={condition(flag)} : nothing) \
otherwise(error at(execution))
}
/* { dg-final { scan-tree-dump-not "__builtin_GOMP_error" "original" } } */
|