Set num_threads to 50 on 32-bit hppa in two libgomp loop tests
[official-gcc.git] / libgomp / testsuite / libgomp.oacc-c-c++-common / function-not-offloaded.c
blob64f8ab812a63d6e1f70737b9be2e7e1e0f157e01
1 /* { dg-do link } */
2 /* { dg-excess-errors "lto1, mkoffload and lto-wrapper fatal errors" { target { openacc_nvidia_accel_selected || openacc_radeon_accel_selected } } } */
4 int var;
5 #pragma acc declare create (var)
7 void __attribute__((noinline, noclone))
8 foo () /* { dg-error "function 'foo' has been referenced in offloaded code but hasn't been marked to be included in the offloaded code" "" { target { openacc_nvidia_accel_selected || openacc_radeon_accel_selected } } } */
10 var++;
13 int
14 main ()
16 #pragma acc parallel
17 foo ();