llvm-project/clang/test/OpenMP/recovery-crash.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
204 B
C++
Raw Normal View History

// RUN: %clang_cc1 -verify -fopenmp -fopenmp-version=50 -frecovery-ast %s
void foo(int i) {
#pragma omp target update from(i) device(undef()) // expected-error {{use of undeclared identifier 'undef'}}
}