From a761ec59cdacb9b290ade29335048bd1b1dd984f Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 4 Dec 2025 11:26:10 +0100 Subject: [PATCH] testsuite: Add tls runtime directives to decomp18.C [PR122983] I haven't added the needed dg- directives to decomp18.C test which uses thread_local and is a dg-do run test. This adds those. 2025-12-03 Jakub Jelinek PR target/122983 * g++.dg/cpp26/decomp18.C: Add dg-add-options tls and dg-require-effective-target tls_runtime directives. --- gcc/testsuite/g++.dg/cpp26/decomp18.C | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/testsuite/g++.dg/cpp26/decomp18.C b/gcc/testsuite/g++.dg/cpp26/decomp18.C index 86b9bf43322..68dae3f223f 100644 --- a/gcc/testsuite/g++.dg/cpp26/decomp18.C +++ b/gcc/testsuite/g++.dg/cpp26/decomp18.C @@ -1,6 +1,8 @@ // P1061R10 - Structured Bindings can introduce a Pack // { dg-do run { target c++11 } } // { dg-options "" } +// { dg-add-options tls } +// { dg-require-effective-target tls_runtime } struct S { int a, b, c; }; namespace std { -- 2.47.3