mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-01 11:52:47 +00:00
21 lines
187 B
C
21 lines
187 B
C
extern "C" void abort (void);
|
|
|
|
int
|
|
main()
|
|
{
|
|
int i = 0;
|
|
|
|
#pragma omp parallel shared (i)
|
|
{
|
|
#pragma omp single
|
|
{
|
|
i++;
|
|
}
|
|
}
|
|
|
|
if (i != 1)
|
|
abort ();
|
|
|
|
return 0;
|
|
}
|