2014-03-06 13:43:53 +08:00
|
|
|
// RUN: %clang_cc1 -verify -fopenmp=libiomp5 -ferror-limit 100 -o - %s
|
2013-03-22 14:34:35 +08:00
|
|
|
|
|
|
|
#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}}
|
|
|
|
}
|