mirror of
https://review.haiku-os.org/buildtools
synced 2025-02-15 02:07:42 +01:00
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29033 a95241bf-73f2-0310-859d-f6bbb57e9c96
20 lines
179 B
C
20 lines
179 B
C
extern void abort (void);
|
|
|
|
main()
|
|
{
|
|
int i = 0;
|
|
|
|
#pragma omp parallel shared (i)
|
|
{
|
|
#pragma omp single
|
|
{
|
|
i++;
|
|
}
|
|
}
|
|
|
|
if (i != 1)
|
|
abort ();
|
|
|
|
return 0;
|
|
}
|