blob: 1e71d2d8ccc2cb7708e51b564fbf5bfd2ee23376 [file] [log] [blame]
// { dg-additional-options "-fmodules-ts -Wno-pedantic" }
module;
# 4 __FILE__ 1
namespace A
{
void swap (int &, int &);
void copy (int &);
}
# 10 "" 2
export module bob;
// { dg-module-cmi bob }
export template <typename T>
void Foo (T & a, T &b)
{
using A::swap;
swap (a, b);
using A::copy;
copy (b);
}