Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
c-c++-common
/
goacc
/
routine-2.c
blob: 3bf33e83d561a5f83bae11af16702be64509b3f8 [
file
] [
log
] [
blame
]
/* Test invalid use of the OpenACC 'routine' directive. */
#pragma
acc routine
(
nothing
)
gang
/* { dg-error "not been declared" } */
#pragma
acc routine nohost nohost
/* { dg-error "too many 'nohost' clauses" } */
extern
void
nohost
(
void
);