brintos

brintos / llvm-project-archived public Read only

0
0
Text · 310 B · f082e89 Raw
11 lines · c
1// RUN: %clang_cc1 -verify -fopenmp -triple x86_64-unknown-unknown %s -ast-dump | FileCheck %s2// expected-no-diagnostics3 4#pragma omp begin declare variant match(device={arch(x86_64)})5 6void bar(void) {}7 8// CHECK: FunctionDecl {{.*}} bar[device={arch(x86_64)}] 'void (void)'9 10#pragma omp end declare variant11