1 // RUN: %clang_cc1 -verify -fopenmp -ast-print %s | FileCheck %s
2 // RUN: %clang_cc1 -fopenmp -x c++ -std=c++11 -emit-pch -o %t %s
3 // RUN: %clang_cc1 -fopenmp -std=c++11 -include-pch %t -verify %s -ast-print | FileCheck %s
4 // expected-no-diagnostics
14 #pragma omp assume no_openmp_routines
16 auto fn
= [](int x
) { return qux(x
); };
17 // CHECK: auto fn = [](int x) {
30 // We're really just checking this parses. All the assumptions are thrown
31 // away immediately for now.
35 #pragma omp assume holds(sizeof(T) == 8) absent(parallel)
37 return (T
)qux((int)a
);
38 // CHECK: return (T)qux((int)a);