/in/foo.cc: In constructor 'LinkList::LinkList(int)':
/in/foo.cc:73:15: warning: unused variable 'head' [-Wunused-variable]
73 | Node* head = new Node;
| ^~~~
/in/foo.cc:74:15: warning: unused variable 'tail' [-Wunused-variable]
74 | Node* tail = new Node;
| ^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:162:23: error: cannot bind non-const lvalue reference of type 'LinkList&' to an rvalue of type 'LinkList'
162 | LinkList La,Lb,Lc=0;
| ^
/in/foo.cc:50:24: note: initializing argument 1 of 'LinkList::LinkList(LinkList&)'
50 | LinkList(LinkList& obj)
| ~~~~~~~~~~^~~
/in/foo.cc:71:5: note: after user-defined conversion: 'LinkList::LinkList(int)'
71 | LinkList(int x)
| ^~~~~~~~