[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / OpenMP / recovery-crash.cpp
blob8f82f55a7841ce75ce840598c468f55227006c45
1 // RUN: %clang_cc1 -verify -fopenmp -frecovery-ast %s
3 void foo(int i) {
4 #pragma omp target update from(i) device(undef()) // expected-error {{use of undeclared identifier 'undef'}}