brintos

brintos / llvm-project-archived public Read only

0
0
Text · 299 B · 41cf3fb Raw
10 lines · c
1// RUN: %clang_cc1 -verify -fopenmp -fopenmp-version=52 -x c -triple x86_64-apple-darwin10 %s2 3extern int omp_get_initial_device();4extern void *omp_get_mapped_ptr(void *, int);5 6void t() {7  omp_get_mapped_ptr(&x, omp_get_initial_device()); //expected-error {{use of undeclared identifier 'x'}}8}9 10