main in namespace

Viewed 17044

Why doesn't this compile? The linker can't find main, but why is this the case?

namespace somenamespace{

int main(void){
 return 0;
}

}
3 Answers
Related