blob: bb0ad39d6b1c292156488a7091511f5f4cf118dc [file] [log] [blame]
// PR c++/50523
template <class T>
struct A
{
A(const T&);
operator T&() const;
operator const T&() const;
};
int main()
{
A<int> a(1);
A<int> a2(a);
}