mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-04 13:06:01 +00:00
18 lines
236 B
C
18 lines
236 B
C
/* { dg-do run } */
|
|
|
|
#include <stdio.h>
|
|
int
|
|
main ()
|
|
{
|
|
int i, j;
|
|
i = 1;
|
|
j = 2;
|
|
#pragma omp parallel private(i) firstprivate(j)
|
|
{
|
|
i = 3;
|
|
j = j + 2;
|
|
}
|
|
printf ("%d %d\n", i, j); /* i and j are undefined */
|
|
return 0;
|
|
}
|