template <typename> struct bang {}; int main() { int x; bang<decltype(0, x)> y; y = x; }
Standard input is empty
prog.cpp: In function 'int main()': prog.cpp:6:9: error: no match for 'operator=' in 'y = x' prog.cpp:1:33: note: candidate is: bang<int&>& bang<int&>::operator=(const bang<int&>&)
Standard output is empty