mirror of
https://github.com/autc04/Retro68.git
synced 2024-08-18 12:29:08 +00:00
26 lines
272 B
C
26 lines
272 B
C
|
/* { dg-do link } */
|
||
|
|
||
|
#define N 100
|
||
|
|
||
|
int
|
||
|
main ()
|
||
|
{
|
||
|
int a[N];
|
||
|
int i, x;
|
||
|
int c;
|
||
|
|
||
|
c = 1;
|
||
|
#pragma omp target
|
||
|
for (i = 0; i < 100; i++)
|
||
|
a[i] = 0;
|
||
|
|
||
|
if (c)
|
||
|
__builtin_unreachable ();
|
||
|
|
||
|
#pragma omp target
|
||
|
for (i = 0; i < 100; i++)
|
||
|
a[i] = 1;
|
||
|
|
||
|
return 0;
|
||
|
}
|