// 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(void) { #pragma omp sections {} } void test_one(void) { #pragma omp sections { ; } } // CHECK: TranslationUnitDecl {{.*}} <> // CHECK: |-FunctionDecl {{.*}} <{{.*}}ast-dump-openmp-sections.c:3:1, line:6:1> line:3:6 test_zero 'void (void)' // CHECK-NEXT: | `-CompoundStmt {{.*}} // CHECK-NEXT: `-FunctionDecl {{.*}} line:8:6 test_one 'void (void)' // CHECK-NEXT: `-CompoundStmt {{.*}} // CHECK-NEXT: `-OMPSectionsDirective {{.*}} // CHECK-NEXT: `-CapturedStmt {{.*}} // CHECK-NEXT: `-CapturedDecl {{.*}} <> // CHECK-NEXT: |-CompoundStmt {{.*}} // CHECK-NEXT: | `-NullStmt {{.*}} // CHECK-NEXT: `-ImplicitParamDecl {{.*}} col:1 implicit __context 'struct (unnamed at {{.*}}ast-dump-openmp-sections.c:9:1) *const restrict'