Retro68/gcc/libgomp/testsuite/libgomp.c++/pr69393.C
2017-04-10 13:32:00 +02:00

17 lines
221 B
C

// { dg-do run }
// { dg-require-effective-target lto }
// { dg-options "-flto -g -fopenmp" }
int e = 5;
int
main ()
{
int a[e];
a[0] = 6;
#pragma omp parallel
if (a[0] != 6)
__builtin_abort ();
return 0;
}