// PR c++/113292 // { dg-additional-options "-fmodules-ts" } import "tls-1_a.H"; // provide a definition of 'instance' so things link thread_local test test::instance; void instantiate() { auto& instance = test::get_instance(); auto& t_instance = test_template::get_instance(); auto& tt_instance = test_template::get_template_instance(); };