prog.cpp: In function ‘int main(int, char**)’:
prog.cpp:14:13: error: no matching function for call to ‘A::A(A)’
A a = F();
^
prog.cpp:14:13: note: candidates are:
prog.cpp:4:8: note: A::A()
struct A {
^
prog.cpp:4:8: note: candidate expects 0 arguments, 1 provided
prog.cpp:4:8: note: A::A(A&)
prog.cpp:4:8: note: no known conversion for argument 1 from ‘A’ to ‘A&’