What does this program print?

from Namespaces
C++23 intermediate 2 min

What does this program print?

C++
#include <iostream>

namespace courier {
struct Parcel {};
void dispatch(Parcel) { std::cout << "parcel\n"; }
}

void dispatch(int) { std::cout << "integer\n"; }

int main() {
    courier::Parcel parcel;
    dispatch(parcel);
    dispatch(0);
}
Open in playground
Report an error