blob: d990a106e55c1864a2dc810bc27fdcfd1afd38c0 [file] [log] [blame]
// { dg-do assemble }
// GROUPS passed infinite_loop
class A
{
public:
A(A &); // { dg-message "note" "" { target c++14_down } }
};
class B
{
public:
operator A ();
};
class C
{
public :
C()
{
B b;
A a = b;// { dg-error "rvalue" "" { target c++14_down } }
}
};