summaryrefslogtreecommitdiffstats
path: root/clang/test/OpenMP/openmp_check.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/OpenMP/openmp_check.cpp')
-rw-r--r--clang/test/OpenMP/openmp_check.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/clang/test/OpenMP/openmp_check.cpp b/clang/test/OpenMP/openmp_check.cpp
index cd4706b57e4..6a8dd17fc83 100644
--- a/clang/test/OpenMP/openmp_check.cpp
+++ b/clang/test/OpenMP/openmp_check.cpp
@@ -19,7 +19,6 @@ int nested(int a) {
#if __cplusplus <= 199711L
// expected-warning@-2 {{'auto' type specifier is a C++11 extension}}
// expected-error@-3 {{expected expression}}
- // expected-error@-4 {{expected ';' at end of declaration}}
#endif
#pragma omp parallel
@@ -29,14 +28,5 @@ int nested(int a) {
}
};
F();
-#if __cplusplus <= 199711L
- // expected-error@-2 {{C++ requires a type specifier for all declarations}}
-#endif
return a;
-#if __cplusplus <= 199711L
- // expected-error@-2 {{expected unqualified-id}}
-#endif
}
-#if __cplusplus <= 199711L
-// expected-error@-2 {{extraneous closing brace ('}')}}
-#endif
OpenPOWER on IntegriCloud