Debian Codegraph @

gcc/testsuite/g++.dg/modules/tls-1_c.C

raw
1 // PR c++/113292
2 // { dg-module-do link }
3 // { dg-require-effective-target tls_runtime }
4 // { dg-add-options tls }
5 // { dg-additional-options "-fmodules-ts" }
6
7 import "tls-1_a.H";
8
9 int main() {
10 auto& instance = test::get_instance();
11 auto& t_instance = test_template<int>::get_instance();
12 auto& tt_instance = test_template<int>::get_template_instance<double>();
13 }