brintos

brintos / llvm-project-archived public Read only

0
0
Text · 184 B · 8f82f55 Raw
6 lines · cpp
1// RUN: %clang_cc1 -verify -fopenmp -frecovery-ast %s2 3void foo(int i) {4#pragma omp target update from(i) device(undef()) // expected-error {{use of undeclared identifier 'undef'}}5}6