Listing 2: The header that causes the name hiding in Listing 1

// lib.h

inline
char const *foo()
    {
    return "function";
    }

//End of File