blob: 7fc0f82707e2dd6407c7bcd6a967c057a82cf3ff [file] [log] [blame]
// PR c++/64248
class A
{
public:
A(const char* str) {};
};
class B
{
public:
B(A a) {};
};
int main()
{
B b(A(__func__));
return 0;
}