blob: 40c32b380ae02c8a1b2b62afeeeb17590df0cb58 [file] [log] [blame]
// { dg-additional-options -fmodules-ts }
export module bob;
// { dg-module-cmi bob }
namespace A
{
export void swap (int &, int &);
void copy (int &);
}
export template <typename T>
void Foo (T & a, T &b)
{
using A::swap;
swap (a, b);
using A::copy;
copy (b);
}