2015-05-20 12:24:19 +08:00
|
|
|
// RUN: %clang_cc1 -verify -fopenmp -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}}
|
|
|
|
}
|