Add test for fixed regression in concat with empty DataFrames
- [ ✓ ] closes #39037 
- [ ✓ ] tests added / passed
- [ ✓ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them

