Michael Lotz a84f174425 Bring GCC 4.3.3 to trunk.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@29033 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-26 05:03:14 +00:00

25 lines
237 B
C

// PR c++/24734
// { dg-do run }
extern "C" void abort ();
int i;
template<int> void
foo ()
{
#pragma omp parallel
{
#pragma omp master
i++;
}
}
int
main ()
{
foo<0> ();
if (i != 1)
abort ();
return 0;
}