fix issue 2407 - function pointer as an enum's base type doesn't work
Merge pull request #2418 from hpohl/2407

fix issue 2407 - function pointer as an enum's base type doesn't work