Answer
To test for this, one could look at the fossil record for the ancestor, check DNA sequences related to wing formation to see if they match those in an outgroup and are similar in birds and bats, showing their retention from a shared ancestor.
Work Step by Step
To get to this answer, try to think of what evidence could link these two winged creatures to a winged common ancestor. Morphology and DNA are two obvious choices.