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