Multiplying two uint16_t values

Compiled with Clang or GCC at -O2 on a target with 32-bit int, what does this program print?

main.cpp
#include <cstdint>
#include <cstdio>

std::uint32_t area(std::uint16_t w, std::uint16_t h) {
    std::uint32_t a = w * h;
    if (a > 0x7FFFFFFFu) std::puts("huge");
    return a;
}

int main() {
    std::printf("%u\n", area(0xFFFF, 0xFFFF));
}

39 of 44 in Compilers