stdlib: NSString APIs on String: add a test that shows getCString() behavior when supplied a string with unpaired surrogates
stdlib: NSString APIs on String: add a test that shows getCString() behavior
when supplied a string with unpaired surrogates

rdar://17034216


Swift SVN r20616

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