blob: 72c2bf8116d4f309f85da28435b5e1cab134b8f2 [file] [log] [blame]
// { dg-additional-options "-fmodules-ts -Wno-global-module" }
// { dg-module-cmi M }
// Test revealing non-exported declarations still prevents
// needed GMF declarations from being discarded
module;
struct A {};
int f();
namespace ns {
struct B {};
int g();
}
extern "C" int h();
namespace ns {
extern "C" int h();
}
export module M;
using ::A;
using ::f;
using ns::B;
using ns::g;
using ns::h;