blob: 91555cbea02f4d8e00cc1e744e8fff7f9620129a [file] [log] [blame]
extern void abort (void);
int
main()
{
int i = 0;
#pragma omp parallel shared (i)
{
#pragma omp single
{
i++;
}
}
if (i != 1)
abort ();
return 0;
}