testsuite: Disable new test for PR113292 on targets without TLS support

This disables the new test added by r14-8168 on machines that don't have
TLS support, such as bare-metal ARM.

gcc/testsuite/ChangeLog:

	* g++.dg/modules/pr113292_c.C: Require TLS.

Signed-off-by: Nathaniel Shead <nathanieloshead@gmail.com>
This commit is contained in:
Nathaniel Shead 2024-01-19 18:15:22 +11:00
parent 9010fdba68
commit bf358eaa16

View file

@ -1,5 +1,7 @@
// PR c++/113292
// { dg-module-do link }
// { dg-require-effective-target tls_runtime }
// { dg-add-options tls }
// { dg-additional-options "-fmodules-ts" }
import "pr113292_a.H";