blob: d0424377e8e3ac560de7ac7f7cccd2230c6cdf7b [file] [log] [blame]
// { dg-do compile { target c++11 } }
template<typename T>
struct A {
A() {}
template<typename U>
A(const A<U>&) {}
bool operator==(const A&) const { return true; }
};
A<const int> a;
A<int> b;
auto c = (a == b);