[PATCH] D100897: [flang] Make 'team_number()' an intrinsic function

clementval added a comment.
Looks like buildbots are failing with this revision. Can you have a look or revert?

I saw this problem and fixed it later that day with: [flang] 18e6328 - [flang] Remove incorrect unit test

I should probably point out that I had run check-flang before pushing the changes and noticed that flang-OldUnit was failing. However I was confused (not unusual) because it is called OldUnit after all and I always get the accompanying failure, see below (so I ignored the failing test I actually caused):