// RUN: %clang_cc1 -triple x86_64-unknown-unknown -fopenmp -ast-dump %s | FileCheck --match-full-lines -implicit-check-not=openmp_structured_block %s void test_zero() { #pragma omp parallel sections {} } void test_one() { #pragma omp parallel sections { ; } } // CHECK: TranslationUnitDecl {{.*}} <> // CHECK: |-FunctionDecl {{.*}} <{{.*}}ast-dump-openmp-parallel-sections.c:3:1, line:6:1> line:3:6 test_zero 'void ()' // CHECK-NEXT: | `-CompoundStmt {{.*}} // CHECK-NEXT: `-FunctionDecl {{.*}} line:8:6 test_one 'void ()' // CHECK-NEXT: `-CompoundStmt {{.*}} // CHECK-NEXT: `-OMPParallelSectionsDirective {{.*}} // CHECK-NEXT: `-CapturedStmt {{.*}} // CHECK-NEXT: `-CapturedDecl {{.*}} <> // CHECK-NEXT: |-CompoundStmt {{.*}} // CHECK-NEXT: | `-NullStmt {{.*}} // CHECK-NEXT: |-ImplicitParamDecl {{.*}} col:1 implicit .global_tid. 'const int *const restrict' // CHECK-NEXT: |-ImplicitParamDecl {{.*}} col:1 implicit .bound_tid. 'const int *const restrict' // CHECK-NEXT: `-ImplicitParamDecl {{.*}} col:1 implicit __context 'struct (anonymous at {{.*}}ast-dump-openmp-parallel-sections.c:9:1) *const restrict'