Add a test case for [weak] IR-generation.
Add a test case for [weak] IR-generation.

Swift SVN r7377

xwu/swift,karwa/swift,OscarSwanros/swift,SwiftAndroid/swift,gottesmm/swift,lorentey/swift,kusl/swift,Ivacker/swift,gmilos/swift,ben-ng/swift,shahmishal/swift,gmilos/swift,cbrentharris/swift,SwiftAndroid/swift,xwu/swift,xedin/swift,huonw/swift,JaSpa/swift,aschwaighofer/swift,KrishMunot/swift,cbrentharris/swift,dduan/swift,sschiau/swift,benlangmuir/swift,manavgabhawala/swift,therealbnut/swift,kusl/swift,tardieu/swift,danielmartin/swift,jckarter/swift,djwbrown/swift,mightydeveloper/swift,roambotics/swift,adrfer/swift,gottesmm/swift,tkremenek/swift,shahmishal/swift,karwa/swift,allevato/swift,amraboelela/swift,gribozavr/swift,rudkx/swift,felix91gr/swift,JGiola/swift,russbishop/swift,slavapestov/swift,lorentey/swift,calebd/swift,rudkx/swift,adrfer/swift,manavgabhawala/swift,brentdax/swift,stephentyrone/swift,kentya6/swift,IngmarStein/swift,shajrawi/swift,kstaring/swift,practicalswift/swift,ben-ng/swift,kusl/swift,gregomni/swift,ken0nek/swift,aschwaighofer/swift,cbrentharris/swift,tardieu/swift,gottesmm/swift,swiftix/swift.old,stephentyrone/swift,manavgabhawala/swift,Jnosh/swift,mightydeveloper/swift,OscarSwanros/swift,hooman/swift,harlanhaskins/swift,manavgabhawala/swift,JGiola/swift,deyton/swift,tjw/swift,calebd/swift,zisko/swift,djwbrown/swift,alblue/swift,jckarter/swift,stephentyrone/swift,devincoughlin/swift,adrfer/swift,xedin/swift,JGiola/swift,felix91gr/swift,danielmartin/swift,tardieu/swift,kentya6/swift,gribozavr/swift,cbrentharris/swift,swiftix/swift.old,devincoughlin/swift,atrick/swift,stephentyrone/swift,harlanhaskins/swift,LeoShimonaka/swift,karwa/swift,KrishMunot/swift,arvedviehweger/swift,ahoppen/swift,slavapestov/swift,sschiau/swift,hughbe/swift,amraboelela/swift,roambotics/swift,therealbnut/swift,aschwaighofer/swift,jopamer/swift,hooman/swift,OscarSwanros/swift,return/swift,therealbnut/swift,therealbnut/swift,swiftix/swift,milseman/swift,huonw/swift,jtbandes/swift,jtbandes/swift,modocache/swift,jopamer/swift,rudkx/swift,khizkhiz/swift,khizkhiz/swift,ahoppen/swift,MukeshKumarS/Swift,alblue/swift,alblue/swift,tinysun212/swift-windows,mightydeveloper/swift,practicalswift/swift,JaSpa/swift,parkera/swift,austinzheng/swift,benlangmuir/swift,emilstahl/swift,practicalswift/swift,airspeedswift/swift,frootloops/swift,russbishop/swift,deyton/swift,uasys/swift,austinzheng/swift,calebd/swift,calebd/swift,swiftix/swift.old,cbrentharris/swift,calebd/swift,tkremenek/swift,xedin/swift,emilstahl/swift,Ivacker/swift,modocache/swift,practicalswift/swift,gribozavr/swift,Ivacker/swift,ken0nek/swift,gmilos/swift,bitjammer/swift,ben-ng/swift,arvedviehweger/swift,jckarter/swift,CodaFi/swift,gottesmm/swift,brentdax/swift,xwu/swift,shahmishal/swift,shahmishal/swift,dduan/swift,ken0nek/swift,gmilos/swift,LeoShimonaka/swift,return/swift,khizkhiz/swift,airspeedswift/swift,roambotics/swift,aschwaighofer/swift,parkera/swift,emilstahl/swift,ben-ng/swift,therealbnut/swift,tkremenek/swift,nathawes/swift,frootloops/swift,mightydeveloper/swift,allevato/swift,jckarter/swift,gottesmm/swift,karwa/swift,tjw/swift,JGiola/swift,codestergit/swift,xedin/swift,hooman/swift,SwiftAndroid/swift,austinzheng/swift,ahoppen/swift,apple/swift,karwa/swift,glessard/swift,jckarter/swift,KrishMunot/swift,benlangmuir/swift,lorentey/swift,devincoughlin/swift,huonw/swift,mightydeveloper/swift,frootloops/swift,johnno1962d/swift,Ivacker/swift,milseman/swift,rudkx/swift,cbrentharris/swift,harlanhaskins/swift,natecook1000/swift,ben-ng/swift,return/swift,austinzheng/swift,kentya6/swift,uasys/swift,gmilos/swift,Jnosh/swift,slavapestov/swift,manavgabhawala/swift,ahoppen/swift,hughbe/swift,manavgabhawala/swift,shajrawi/swift,gottesmm/swift,calebd/swift,natecook1000/swift,natecook1000/swift,allevato/swift,LeoShimonaka/swift,mightydeveloper/swift,amraboelela/swift,devincoughlin/swift,Ivacker/swift,parkera/swift,hooman/swift,sdulal/swift,johnno1962d/swift,kstaring/swift,khizkhiz/swift,tjw/swift,codestergit/swift,danielmartin/swift,parkera/swift,LeoShimonaka/swift,frootloops/swift,kperryua/swift,gmilos/swift,SwiftAndroid/swift,emilstahl/swift,shahmishal/swift,ben-ng/swift,sdulal/swift,shajrawi/swift,kperryua/swift,CodaFi/swift,stephentyrone/swift,MukeshKumarS/Swift,danielmartin/swift,johnno1962d/swift,jtbandes/swift,return/swift,kstaring/swift,karwa/swift,dduan/swift,tkremenek/swift,swiftix/swift.old,Ivacker/swift,alblue/swift,gmilos/swift,natecook1000/swift,bitjammer/swift,gregomni/swift,OscarSwanros/swift,tinysun212/swift-windows,sdulal/swift,zisko/swift,brentdax/swift,tjw/swift,khizkhiz/swift,Jnosh/swift,rudkx/swift,xedin/swift,brentdax/swift,lorentey/swift,IngmarStein/swift,glessard/swift,arvedviehweger/swift,roambotics/swift,parkera/swift,jtbandes/swift,xwu/swift,kusl/swift,shajrawi/swift,sdulal/swift,modocache/swift,adrfer/swift,practicalswift/swift,xwu/swift,airspeedswift/swift,apple/swift,shajrawi/swift,modocache/swift,jtbandes/swift,felix91gr/swift,natecook1000/swift,glessard/swift,kusl/swift,LeoShimonaka/swift,shahmishal/swift,ken0nek/swift,zisko/swift,karwa/swift,CodaFi/swift,JaSpa/swift,devincoughlin/swift,airspeedswift/swift,bitjammer/swift,sschiau/swift,airspeedswift/swift,JGiola/swift,jtbandes/swift,johnno1962d/swift,devincoughlin/swift,slavapestov/swift,kstaring/swift,CodaFi/swift,uasys/swift,arvedviehweger/swift,tjw/swift,codestergit/swift,IngmarStein/swift,gribozavr/swift,uasys/swift,dduan/swift,JaSpa/swift,amraboelela/swift,lorentey/swift,deyton/swift,kentya6/swift,kusl/swift,russbishop/swift,xwu/swift,rudkx/swift,dduan/swift,hughbe/swift,tinysun212/swift-windows,shajrawi/swift,djwbrown/swift,tardieu/swift,natecook1000/swift,JGiola/swift,jopamer/swift,sschiau/swift,glessard/swift,tjw/swift,johnno1962d/swift,jmgc/swift,ken0nek/swift,danielmartin/swift,brentdax/swift,hooman/swift,djwbrown/swift,kperryua/swift,IngmarStein/swift,deyton/swift,bitjammer/swift,tkremenek/swift,swiftix/swift.old,swiftix/swift,stephentyrone/swift,nathawes/swift,deyton/swift,mightydeveloper/swift,sschiau/swift,apple/swift,tkremenek/swift,nathawes/swift,sdulal/swift,uasys/swift,MukeshKumarS/Swift,amraboelela/swift,cbrentharris/swift,sschiau/swift,IngmarStein/swift,modocache/swift,kusl/swift,Jnosh/swift,hughbe/swift,atrick/swift,alblue/swift,huonw/swift,sdulal/swift,therealbnut/swift,tardieu/swift,milseman/swift,dduan/swift,jmgc/swift,kentya6/swift,gribozavr/swift,harlanhaskins/swift,kentya6/swift,huonw/swift,glessard/swift,Jnosh/swift,zisko/swift,CodaFi/swift,austinzheng/swift,gregomni/swift,practicalswift/swift,Ivacker/swift,deyton/swift,tkremenek/swift,IngmarStein/swift,roambotics/swift,apple/swift,tjw/swift,hughbe/swift,jtbandes/swift,SwiftAndroid/swift,felix91gr/swift,jopamer/swift,uasys/swift,stephentyrone/swift,LeoShimonaka/swift,return/swift,danielmartin/swift,alblue/swift,russbishop/swift,zisko/swift,devincoughlin/swift,modocache/swift,therealbnut/swift,xedin/swift,kentya6/swift,gribozavr/swift,tardieu/swift,parkera/swift,natecook1000/swift,harlanhaskins/swift,SwiftAndroid/swift,swiftix/swift,jopamer/swift,amraboelela/swift,lorentey/swift,modocache/swift,adrfer/swift,huonw/swift,emilstahl/swift,swiftix/swift.old,austinzheng/swift,khizkhiz/swift,frootloops/swift,dreamsxin/swift,ahoppen/swift,SwiftAndroid/swift,gregomni/swift,kperryua/swift,kperryua/swift,shahmishal/swift,milseman/swift,swiftix/swift.old,atrick/swift,djwbrown/swift,austinzheng/swift,djwbrown/swift,zisko/swift,danielmartin/swift,airspeedswift/swift,aschwaighofer/swift,brentdax/swift,hooman/swift,OscarSwanros/swift,JaSpa/swift,shajrawi/swift,return/swift,xwu/swift,calebd/swift,jopamer/swift,swiftix/swift,jmgc/swift,devincoughlin/swift,allevato/swift,kperryua/swift,bitjammer/swift,return/swift,MukeshKumarS/Swift,djwbrown/swift,LeoShimonaka/swift,zisko/swift,johnno1962d/swift,gregomni/swift,gregomni/swift,jckarter/swift,codestergit/swift,parkera/swift,tinysun212/swift-windows,emilstahl/swift,practicalswift/swift,bitjammer/swift,KrishMunot/swift,sdulal/swift,aschwaighofer/swift,manavgabhawala/swift,frootloops/swift,sdulal/swift,harlanhaskins/swift,harlanhaskins/swift,milseman/swift,mightydeveloper/swift,KrishMunot/swift,lorentey/swift,swiftix/swift,atrick/swift,LeoShimonaka/swift,tinysun212/swift-windows,codestergit/swift,aschwaighofer/swift,tardieu/swift,slavapestov/swift,deyton/swift,russbishop/swift,milseman/swift,jckarter/swift,ken0nek/swift,nathawes/swift,felix91gr/swift,jmgc/swift,adrfer/swift,russbishop/swift,jmgc/swift,emilstahl/swift,benlangmuir/swift,felix91gr/swift,kentya6/swift,airspeedswift/swift,kstaring/swift,karwa/swift,russbishop/swift,dduan/swift,swiftix/swift,gottesmm/swift,shajrawi/swift,kstaring/swift,slavapestov/swift,xedin/swift,felix91gr/swift,benlangmuir/swift,alblue/swift,practicalswift/swift,nathawes/swift,cbrentharris/swift,hooman/swift,gribozavr/swift,kusl/swift,CodaFi/swift,johnno1962d/swift,ken0nek/swift,uasys/swift,atrick/swift,Jnosh/swift,swiftix/swift.old,huonw/swift,IngmarStein/swift,apple/swift,milseman/swift,dreamsxin/swift,hughbe/swift,tinysun212/swift-windows,MukeshKumarS/Swift,allevato/swift,glessard/swift,lorentey/swift,atrick/swift,kperryua/swift,gribozavr/swift,JaSpa/swift,nathawes/swift,OscarSwanros/swift,CodaFi/swift,adrfer/swift,tinysun212/swift-windows,jopamer/swift,nathawes/swift,jmgc/swift,ben-ng/swift,hughbe/swift,emilstahl/swift,Ivacker/swift,sschiau/swift,amraboelela/swift,JaSpa/swift,sschiau/swift,MukeshKumarS/Swift,jmgc/swift,OscarSwanros/swift,Jnosh/swift,khizkhiz/swift,roambotics/swift,KrishMunot/swift,ahoppen/swift,arvedviehweger/swift,xedin/swift,benlangmuir/swift,arvedviehweger/swift,kstaring/swift,frootloops/swift,allevato/swift,brentdax/swift,slavapestov/swift,parkera/swift,KrishMunot/swift,swiftix/swift,codestergit/swift,codestergit/swift,shahmishal/swift,bitjammer/swift,allevato/swift,MukeshKumarS/Swift,apple/swift,arvedviehweger/swift