1 // RUN: %clang_cc1 -verify -fopenmp -ferror-limit 100 %s
2 // RUN: %clang_cc1 -verify -fopenmp -ferror-limit 100 -std=c++98 %s
3 // RUN: %clang_cc1 -verify -fopenmp -ferror-limit 100 -std=c++11 %s
5 // RUN: %clang_cc1 -verify -fopenmp-simd -ferror-limit 100 %s
6 // RUN: %clang_cc1 -verify -fopenmp-simd -ferror-limit 100 -std=c++98 %s
7 // RUN: %clang_cc1 -verify -fopenmp-simd -ferror-limit 100 -std=c++11 %s
8 // SIMD-ONLY0-NOT: {{__kmpc|__tgt}}
10 #define p _Pragma("omp parallel")
13 #pragma omp parallel p // expected-error {{unexpected OpenMP directive}}
19 #if __cplusplus <= 199711L
20 // expected-warning@-2 {{'auto' type specifier is a C++11 extension}}
21 // expected-error@-3 {{expected expression}}