https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79318
--- Comment #1 from John Simon <gcc at mailinator dot com> ---
Full example:
#include <iostream>
using namespace std;
class Foo
{
private:
int a;
public:
Foo():a(0){};
&operator int() {return a;}; // this fails with Clang
};
int main()
{
Foo foo;
int x = foo;
cout << x << endl;
}
