[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / AST / ast-dump-openmp-taskwait.c
blobd20d4201c677da15c037ca89efcc52d62a269baf
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 taskwait
7 // CHECK: TranslationUnitDecl {{.*}} <<invalid sloc>> <invalid sloc>
8 // CHECK: `-FunctionDecl {{.*}} <{{.*}}ast-dump-openmp-taskwait.c:3:1, line:5:1> line:3:6 test 'void (void)'
9 // CHECK-NEXT: `-CompoundStmt {{.*}} <col:17, line:5:1>
10 // CHECK-NEXT: `-OMPTaskwaitDirective {{.*}} <line:4:1, col:21> openmp_standalone_directive