#include <utility>

template <class T>
void foo(T& x)
{}

int main() {
    int i = 3;
    foo(std::move(i));

    int& y = std::move(i);
	return 0;
}