Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / OpenMP / bug59944.c
blob41cf3fb616eea47ae8d1688e28cde89ed90ff05b
1 // RUN: %clang_cc1 -verify -fopenmp -fopenmp-version=52 -x c -triple x86_64-apple-darwin10 %s
3 extern int omp_get_initial_device();
4 extern void *omp_get_mapped_ptr(void *, int);
6 void t() {
7 omp_get_mapped_ptr(&x, omp_get_initial_device()); //expected-error {{use of undeclared identifier 'x'}}