brintos

brintos / llvm-project-archived public Read only

0
0
Text · 347 B · 41f756d Raw
16 lines · c
1// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s2 3// Check to ensure these are no-ops/don't really do anything.4void name();5 6void foo() {7#pragma acc declare8  // CHECK-NOT: declare9#pragma acc routine(name) worker10  // CHECK-NOT: routine11}12#pragma acc declare13  // CHECK-NOT: declare14#pragma acc routine(name) worker15  // CHECK-NOT: routine16