1 /* Test invalid use of the routine directive. */
5 #pragma acc routine (one_d) /* { dg-error "names a set of overloads" } */
13 #pragma acc routine (one) /* { dg-error "names a set of overloads" } */
18 #pragma acc routine (incr) /* { dg-error "names a set of overloads" } */
24 #pragma acc routine (sum)
28 #pragma acc routine (foo::sub)
30 /* It's strange to apply a routine directive to subset of overloaded
31 functions, but that is permissible in OpenACC 2.x. */