In the following program I want to know why main is not mangled similar to other methods:
int main()
{
}
int main1()
{
}
If I check the out of nm I see the main method is not mangled while main1 is. I tried to change the program entry from main to main1 using #pragma entry but it had not effect.
Appreciate your help on this.