Home | History | Annotate | Download | only in OpenMP
      1 // RUN: %clang_cc1 -verify -fopenmp=libiomp5 -ferror-limit 100 -o - %s
      2 
      3 #pragma omp // expected-error {{expected an OpenMP directive}}
      4 #pragma omp unknown_directive // expected-error {{expected an OpenMP directive}}
      5 
      6 void foo() {
      7 #pragma omp // expected-error {{expected an OpenMP directive}}
      8 #pragma omp unknown_directive // expected-error {{expected an OpenMP directive}}
      9 }
     10