testsuite/101114: Adjust libgomp.c-c++-common/struct-elem-5.c testcase

The dg-shouldfail testcase libgomp.c-c++-common/struct-elem-5.c does not
properly fail for non-shared address space offloading. Adjust testcase
to limit testing only for "target offload_device_nonshared_as".

libgomp/ChangeLog:

	PR testsuite/101114
	* testsuite/libgomp.c-c++-common/struct-elem-5.c:
	Add "target offload_device_nonshared_as" condition for enabling test.
This commit is contained in:
Chung-Lin Tang 2021-06-26 00:42:58 +08:00
parent 74ebd1297e
commit e067201737
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* { dg-do run } */
/* { dg-do run { target offload_device_nonshared_as } } */
struct S
{