// { dg-additional-options "-fmodules-ts" } import std; int main() { std::basic_string s; // The inline namespace should not be exported, only the 'using' in std. std::__cxx11::basic_string s2; // { dg-error "has not been declared" } // The non-exported using should also not be visible. foo::basic_string s3; // { dg-error "has not been declared" } } // { dg-prune-output "expected primary-expression" }