[PR testsuite/68063] Add missing private clause in libgomp.c++/member-1.C

PR testsuite/68063
	* testsuite/libgomp.c++/member-1.C (A::m1): Add missing private clause.

From-SVN: r229411
This commit is contained in:
Thomas Schwinge 2015-10-27 11:32:32 +01:00 committed by Thomas Schwinge
parent 8acda9b2c0
commit b3962a4a87
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2015-10-27 Thomas Schwinge <thomas@codesourcery.com>
PR testsuite/68063
* testsuite/libgomp.c++/member-1.C (A::m1): Add missing private clause.
2015-10-27 James Norris <jnorris@codesourcery.com>
* testsuite/libgomp.oacc-c-c++-common/combdir-1.c: New file.

View File

@ -151,7 +151,7 @@ A::m1 ()
{
f = false;
#pragma omp single
#pragma omp taskloop lastprivate (a, t, b, n)
#pragma omp taskloop lastprivate (a, t, b, n) private (R::r)
for (int i = 0; i < 30; i++)
{
int q = omp_get_thread_num ();