[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / AST / ast-dump-openmp-barrier.c
bloba0b8bd2fd3bf045f0e2669b2bdee01864d8819b6
1 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -fopenmp -ast-dump %s | FileCheck --match-full-lines -implicit-check-not=openmp_structured_block %s
3 void test(void) {
4 #pragma omp barrier
7 // CHECK: TranslationUnitDecl {{.*}} <<invalid sloc>> <invalid sloc>
8 // CHECK: `-FunctionDecl {{.*}} <{{.*}}ast-dump-openmp-barrier.c:3:1, line:5:1> line:3:6 test 'void (void)'
9 // CHECK-NEXT: `-CompoundStmt {{.*}} <col:17, line:5:1>
10 // CHECK-NEXT: `-OMPBarrierDirective {{.*}} <line:4:1, col:20> openmp_standalone_directive