minix/external/bsd/llvm/dist/clang/test/OpenMP/option_warn.c

6 lines
180 B
C
Raw Normal View History

// RUN: %clang_cc1 -verify -Wsource-uses-openmp -o - %s
int a;
#pragma omp threadprivate(a,b) // expected-warning {{unexpected '#pragma omp ...' in program}}
#pragma omp parallel