forked from OSchip/llvm-project
10 lines
400 B
C
10 lines
400 B
C
// RUN: %clang_cc1 -triple x86_64-apple-macos10.7.0 -verify -fopenmp -ferror-limit 100 -o - %s
|
|
|
|
#pragma omp // expected-error {{expected an OpenMP directive}}
|
|
#pragma omp unknown_directive // expected-error {{expected an OpenMP directive}}
|
|
|
|
void foo() {
|
|
#pragma omp // expected-error {{expected an OpenMP directive}}
|
|
#pragma omp unknown_directive // expected-error {{expected an OpenMP directive}}
|
|
}
|