blob: e005e6ec69203362794d700212b927bd66ed079a [file] [log] [blame]
// PR c++/67835
// { dg-do compile { target c++14 } }
template<class Tag, class T>
auto g(Tag tag, T x) {
return f(tag, x);
}
namespace abc {
struct tag {};
struct A {};
template<class T>
auto f(tag, T x) { return x; }
}
int main() {
g(abc::tag(), abc::A());
return 0;
}