If it is an inline function in a header file it should most probably be:



namespace test
{
inline void foo(void)
{
return;
}