[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / OpenMP / declare_variant_ast_x86_64.c
blobf082e8985147bdab30f2b72e8b1f129a81a8e710
1 // RUN: %clang_cc1 -verify -fopenmp -triple x86_64-unknown-unknown %s -ast-dump | FileCheck %s
2 // expected-no-diagnostics
4 #pragma omp begin declare variant match(device={arch(x86_64)})
6 void bar(void) {}
8 // CHECK: FunctionDecl {{.*}} bar[device={arch(x86_64)}] 'void (void)'
10 #pragma omp end declare variant