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