diff options
Diffstat (limited to 'clang/test/OpenMP/threadprivate_ast_print.cpp')
| -rw-r--r-- | clang/test/OpenMP/threadprivate_ast_print.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/test/OpenMP/threadprivate_ast_print.cpp b/clang/test/OpenMP/threadprivate_ast_print.cpp index deb829e9267..ddf488250aa 100644 --- a/clang/test/OpenMP/threadprivate_ast_print.cpp +++ b/clang/test/OpenMP/threadprivate_ast_print.cpp @@ -1,6 +1,11 @@ // RUN: %clang_cc1 -verify -fopenmp -ast-print %s | FileCheck %s +// RUN: %clang_cc1 -fopenmp -x c++ -std=c++11 -emit-pch -o %t +// RUN: %clang_cc1 -fopenmp -std=c++11 -include-pch %t -fsyntax-only -verify %s -ast-print // expected-no-diagnostics +#ifndef HEADER +#define HEADER + struct St{ int a; }; @@ -41,3 +46,5 @@ int main () { a=2; return (foo<int>()); } + +#endif |

