blob: ea80b4cd6676fa05c704c3258938ba1a36b21878 [file] [log] [blame]
// { dg-additional-options "-fmodules-ts" }
import M;
namespace foo {}
int main() {
struct bar::S a = bar::S;
bar::X b = bar::S;
struct foo::S c; // { dg-error "does not name a type" }
auto d = foo::S; // { dg-error "not a member" }
}