SILGen: Add test to ensure we don't have a vtable entry for synthesized members of a final class
SILGen: Add test to ensure we don't have a vtable entry for synthesized members of a final class

I believe this was fixed with https://github.com/apple/swift/pull/23932.

5.1 had an inconsistency here because the synthesized declaration was not
marked as final; we would sometimes check if a method itself was final,
other times we would check if both the method and the class were final.

Lucky it worked out so that the emitted vtable entry did not appear to
ever have been used.

Make sure this behavior doesn't change going forward with a test.

xwu/swift,karwa/swift,JGiola/swift,rudkx/swift,aschwaighofer/swift,airspeedswift/swift,stephentyrone/swift,jmgc/swift,karwa/swift,stephentyrone/swift,jmgc/swift,rudkx/swift,benlangmuir/swift,benlangmuir/swift,hooman/swift,benlangmuir/swift,harlanhaskins/swift,gregomni/swift,ahoppen/swift,CodaFi/swift,devincoughlin/swift,jckarter/swift,ahoppen/swift,CodaFi/swift,glessard/swift,aschwaighofer/swift,karwa/swift,lorentey/swift,jckarter/swift,benlangmuir/swift,gribozavr/swift,stephentyrone/swift,nathawes/swift,parkera/swift,parkera/swift,xwu/swift,tkremenek/swift,karwa/swift,jmgc/swift,parkera/swift,roambotics/swift,roambotics/swift,sschiau/swift,lorentey/swift,devincoughlin/swift,JGiola/swift,airspeedswift/swift,gribozavr/swift,karwa/swift,apple/swift,devincoughlin/swift,CodaFi/swift,gregomni/swift,glessard/swift,rudkx/swift,stephentyrone/swift,nathawes/swift,atrick/swift,lorentey/swift,jckarter/swift,hooman/swift,ahoppen/swift,CodaFi/swift,parkera/swift,apple/swift,roambotics/swift,tkremenek/swift,apple/swift,shahmishal/swift,karwa/swift,roambotics/swift,nathawes/swift,rudkx/swift,gregomni/swift,allevato/swift,atrick/swift,shahmishal/swift,aschwaighofer/swift,CodaFi/swift,hooman/swift,xwu/swift,lorentey/swift,allevato/swift,harlanhaskins/swift,ahoppen/swift,jckarter/swift,JGiola/swift,sschiau/swift,aschwaighofer/swift,atrick/swift,tkremenek/swift,devincoughlin/swift,aschwaighofer/swift,airspeedswift/swift,apple/swift,parkera/swift,roambotics/swift,lorentey/swift,glessard/swift,devincoughlin/swift,jmgc/swift,rudkx/swift,tkremenek/swift,parkera/swift,benlangmuir/swift,allevato/swift,gregomni/swift,stephentyrone/swift,jmgc/swift,sschiau/swift,atrick/swift,JGiola/swift,gribozavr/swift,allevato/swift,stephentyrone/swift,tkremenek/swift,apple/swift,harlanhaskins/swift,jmgc/swift,allevato/swift,atrick/swift,nathawes/swift,lorentey/swift,JGiola/swift,karwa/swift,roambotics/swift,airspeedswift/swift,nathawes/swift,harlanhaskins/swift,sschiau/swift,devincoughlin/swift,harlanhaskins/swift,xwu/swift,jmgc/swift,shahmishal/swift,harlanhaskins/swift,sschiau/swift,hooman/swift,jckarter/swift,xwu/swift,stephentyrone/swift,shahmishal/swift,shahmishal/swift,gribozavr/swift,gribozavr/swift,xwu/swift,harlanhaskins/swift,sschiau/swift,hooman/swift,benlangmuir/swift,allevato/swift,CodaFi/swift,hooman/swift,ahoppen/swift,hooman/swift,tkremenek/swift,tkremenek/swift,xwu/swift,glessard/swift,shahmishal/swift,airspeedswift/swift,devincoughlin/swift,devincoughlin/swift,shahmishal/swift,glessard/swift,allevato/swift,jckarter/swift,parkera/swift,atrick/swift,gregomni/swift,ahoppen/swift,lorentey/swift,airspeedswift/swift,jckarter/swift,CodaFi/swift,nathawes/swift,gribozavr/swift,JGiola/swift,aschwaighofer/swift,nathawes/swift,shahmishal/swift,airspeedswift/swift,gregomni/swift,karwa/swift,glessard/swift,aschwaighofer/swift,gribozavr/swift,parkera/swift,gribozavr/swift,lorentey/swift,sschiau/swift,apple/swift,rudkx/swift,sschiau/swift