Two functions, both taking &&

What happens when this program is compiled?

main.cpp
#include <iostream>

template <typename T>
void forwardRef(T&& x) {     // deduced context: forwarding reference
    std::cout << "forwardRef\n";
}

void fixedRRef(int&& x) {    // non-template: ordinary fixed rvalue reference
    std::cout << "fixedRRef\n";
}

int main() {
    int val = 42;
    forwardRef(val);   // (1)
    fixedRRef(val);     // (2)
}

83 of 117 in C++