mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-11 19:49:32 +00:00
17 lines
355 B
C
17 lines
355 B
C
/* { dg-do link } */
|
|
/* { dg-excess-errors "unresolved symbol foo, lto1, mkoffload and lto-wrapper fatal errors" { target offload_device_nonshared_as } } */
|
|
/* { dg-additional-sources "function-not-offloaded-aux.c" } */
|
|
|
|
#pragma omp declare target
|
|
int var;
|
|
#pragma omp end declare target
|
|
|
|
extern void foo ();
|
|
|
|
int
|
|
main ()
|
|
{
|
|
#pragma omp target
|
|
foo ();
|
|
}
|