testuite: Add pthread check to dg-module-cmi for omp module testing
gcc/testsuite: * g++.dg/modules/omp-1_a.C: Check pthread is available for dg-module-cmi. * g++.dg/modules/omp-2_a.C: Ditto.
This commit is contained in:
parent
7a22d8a764
commit
f0e40ea064
|
@ -2,7 +2,7 @@
|
||||||
// { dg-require-effective-target pthread }
|
// { dg-require-effective-target pthread }
|
||||||
|
|
||||||
export module foo;
|
export module foo;
|
||||||
// { dg-module-cmi foo }
|
// { dg-module-cmi foo { target pthread } }
|
||||||
|
|
||||||
export inline void frob (unsigned (&ary)[64])
|
export inline void frob (unsigned (&ary)[64])
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// { dg-require-effective-target pthread }
|
// { dg-require-effective-target pthread }
|
||||||
|
|
||||||
export module foo;
|
export module foo;
|
||||||
// { dg-module-cmi foo }
|
// { dg-module-cmi foo { target pthread } }
|
||||||
|
|
||||||
// The OpenMPness doesn't escape to the interface.
|
// The OpenMPness doesn't escape to the interface.
|
||||||
export void frob (unsigned (&ary)[64])
|
export void frob (unsigned (&ary)[64])
|
||||||
|
|
Loading…
Reference in New Issue