misc/cgo/testsovar: needs the `extern` keyword to export variables on non-windows platforms
misc/cgo/testsovar: needs the `extern` keyword to export variables on non-windows platforms

Change-Id: I87fa25214fbf24469148a63f4e1e61e261105c16
Reviewed-on: https://go-review.googlesource.com/12470
TryBot-Result: Gobot Gobot <66cb808b70d30c07676d5e946fee83fd561249e5@golang.org>
Reviewed-by: Ian Lance Taylor <87e9c6d529889242b7e184afb632328636553ab4@golang.org>

yuhengye/go,dafyddcrosby/go,CiscoCloud/go,chinanjjohn2012/go,samanalysis/go,baiyunping333/go,suncycheng/go,danielsoro/go,jonahglover/go,vsdutka/go,alex-zhang/go,parkdy/go,rachtsingh/gogojuice,4ad/go,codestation/go,polyverse-security/go,slavau/go,alex-zhang/go,nakedgc/go,famorted/go,xiaobodu/go,jameskumar/go,miolini/go,CiscoCloud/go,Young55555/go,myPublicGit/go,XuYunnan/go,nawawi/go,Badredapple/go,nakedgc/go,sosop/go,stormltf/go,youprofit/go,honsiorovskyi/go,xiuzhifu/go,WIZARD-CXY/go,roth1002/go,devpadawan/go,nawawi/go,slavau/go,WIZARD-CXY/go,dgnorton/go,josharian/go,theass/go,ganboing/go-esx,ErikDubbelboer/go,sinuos/go,constantine001/go,constantine001/go,kakuhiroshi/go,kim-racktop/go,slavau/go,binarycrusader/go,yuhengye/go,undergrowthlinear/go,theif519/go,sndnvaps/go,jacobxk/go,dpatel06/go,g522342435/go,springning/go,4ad/go,vanloswang/go,fjballest/golang,zouchao2010/go,gohin/go,yuhengye/go,CAFxX/go,xiaobodu/go,zhangg/go,cyberroadie/go,miolini/go,zouchao2010/go,theif519/go,stormltf/go,codestation/go,samanalysis/go,jdeng/go,monetate/go,suncycheng/go,kim-racktop/go,cnbin/go,Cofyc/go,parkdy/go,ErikDubbelboer/go,NichoZhang/go,cloudrain21/go,snowsnail/go,shazow/go,RBEGamer/go,WIZARD-CXY/go,skotti/go,danycoro/go,springning/go,4ad/go,vishsingh/go,jacobsa/go,zcwfeng/go,ganboing/go-esx,jacobxk/go,malvira/go,Jordanzuo/go,goodlang/good,WIZARD-CXY/go,suncycheng/go,ichu501/go,zhangg/go,XuYunnan/go,theass/go,cnbin/go,mwhudson/go,golang/go,Endika/go,zcwfeng/go,fjballest/golang,greyhwndz/go,jasonxiong/go,vishsingh/go,josharian/go,baiyunping333/go,vanloswang/go,Jordanzuo/go,arschles/go-1,honsiorovskyi/go,mikekap/go,greyhwndz/go,samanalysis/go,lihuanghai/go,snowsnail/go,rachtsingh/gogojuice,gohin/go,slavau/go,jacobxk/go,dafyddcrosby/go,mdp/go,danycoro/go,skotti/go,Stan-Lin-/go,malvira/go,Jordanzuo/go,ErikDubbelboer/go,devpadawan/go,NunoEdgarGub1/go,goodlang/good,zhangg/go,ichu501/go,rentongzhang/go,jonasi/go,jonahglover/go,pgmreddy/go,mbrukman/go,ImJasonH/go,qskycolor/go,jacobsa/go,greyhwndz/go,Endika/go,joshsammut/go,vanloswang/go,andrewchambers/go,NunoEdgarGub1/go,jmptrader/go,parkdy/go,jacobsa/go,jonathanmarvens/go,myPublicGit/go,rentongzhang/go,beealone/go,beealone/go,dpatel06/go,roth1002/go,arschles/golang-go,Samurais/go,gohin/go,shazow/go,donnel6809/go,skatsuta/go,cloudflare/go,sndnvaps/go,GeorgiCodes/go,ImJasonH/go,jacobsa/go,kevinc0825/go,jonahglover/go,nawawi/go,odeke-em/go,skotti/go,skatsuta/go,dterei/go,odeke-em/go,yangzhongj/go,jacobxk/go,xinhuang327/go,youprofit/go,stormltf/go,zouchao2010/go,NichoZhang/go,yangzhongj/go,CarterTsai/go,undergrowthlinear/go,dpatel06/go,shazow/go,jefby/go,baiyunping333/go,ericsnowcurrently/go,likesea/go,mwhudson/go,danielsoro/go,zhangg/go,theass/go,kevinc0825/go,mdp/go,jacobxk/go,NunoEdgarGub1/go,dafyddcrosby/go,mwhudson/go,undergrowthlinear/go,nakedgc/go,qskycolor/go,jonasi/go,mikekap/go,xujianhai/go,cloudrain21/go,NunoEdgarGub1/go,jacobsa/go,CarterTsai/go,Pulgafree/go,theif519/go,xiuzhifu/go,malvira/go,sinuos/go,gdey/go,cloudflare/go,myPublicGit/go,alex-zhang/go,Badredapple/go,nawawi/go,cyberroadie/go,Badredapple/go,jameskumar/go,Jordanzuo/go,vsdutka/go,Charlesdong/go-1,sndnvaps/go,jacobhaven/go,nawawi/go,CarterTsai/go,honsiorovskyi/go,danycoro/go,vsdutka/go,golang/go,dkolbly/go,pgmreddy/go,famorted/go,ImJasonH/go,sndnvaps/go,RBEGamer/go,ericsnowcurrently/go,danielsoro/go,gdey/go,alash3al/go,deft-code/go,gdey/go,cnbin/go,dkolbly/go,malvira/go,josharian/go,NichoZhang/go,honsiorovskyi/go,fjballest/golang,NunoEdgarGub1/go,NunoEdgarGub1/go,dgnorton/go,undergrowthlinear/go,likesea/go,kim-racktop/go,codestation/go,kakuhiroshi/go,b54898533/go,jacobhaven/go,jasonxiong/go,linux-on-ibm-z/go,mgyenik/go,leeric92/go,CiscoCloud/go,vsekhar/elastic-go,akutz/go,samanalysis/go,shazow/go,samanalysis/go,lihuanghai/go,uileyar/go,dterei/go,jameskumar/go,cnbin/go,josharian/go,alex-zhang/go,golang/go,theif519/go,ifagnosticism/go,golang/go,yasarkunduz/go,honsiorovskyi/go,donnel6809/go,polyverse-security/go,snowsnail/go,xiuzhifu/go,yangzhongj/go,yangzhongj/go,jonahglover/go,suncycheng/go,zhangg/go,jonathanmarvens/go,sndnvaps/go,malvira/go,RBEGamer/go,vanloswang/go,parkdy/go,xiaobodu/go,likesea/go,xiuzhifu/go,ericsnowcurrently/go,likesea/go,donnel6809/go,miolini/go,jdhenke/go,cookerzhu/go,AALEKH/go,fjballest/golang,chinanjjohn2012/go,undergrowthlinear/go,vanloswang/go,RBEGamer/go,jameskumar/go,willjunspecial/go,malvira/go,stormltf/go,Cofyc/go,xinhuang327/go,shines77/go,jdhenke/go,vishsingh/go,zcwfeng/go,josharian/go,kevinc0825/go,xiuzhifu/go,ganboing/go-esx,mdp/go,alex-zhang/go,deft-code/go,xujianhai/go,likesea/go,cookerzhu/go,albertjin/golang-go,CAFxX/go,jacobhaven/go,xinhuang327/go,gohin/go,famorted/go,christopher-henderson/Go,cookerzhu/go,joshsammut/go,jonasi/go,yangzhongj/go,Badredapple/go,momchil-velikov/go,willjunspecial/go,CAFxX/go,kim-racktop/go,g522342435/go,dafyddcrosby/go,willjunspecial/go,xiuzhifu/go,xiaobodu/go,Stan-Lin-/go,Stan-Lin-/go,vsekhar/elastic-go,albertjin/golang-go,dkolbly/go,lihuanghai/go,roth1002/go,deft-code/go,AALEKH/go,qskycolor/go,baiyunping333/go,pgmreddy/go,jefby/go,Endika/go,joshsammut/go,arschles/go-1,alash3al/go,CodyGuo/go,leeric92/go,kevinc0825/go,akutz/go,jacobsa/go,yuhengye/go,ifagnosticism/go,jonathanmarvens/go,zouchao2010/go,jdhenke/go,NichoZhang/go,4ad/go,rachtsingh/gogojuice,Endika/go,WIZARD-CXY/go,Stan-Lin-/go,dafyddcrosby/go,codestation/go,codestation/go,AALEKH/go,samanalysis/go,CodyGuo/go,sosop/go,jdhenke/go,kevinc0825/go,mgyenik/go,ichu501/go,andrewchambers/go,shazow/go,stormltf/go,zouchao2010/go,vishsingh/go,yasarkunduz/go,xiaobodu/go,gdey/go,famorted/go,roth1002/go,cloudflare/go,dterei/go,xiaobodu/go,polyverse-security/go,ErikDubbelboer/go,Samurais/go,snowsnail/go,youprofit/go,cloudrain21/go,ErikDubbelboer/go,likesea/go,beealone/go,jonahglover/go,ImJasonH/go,famorted/go,ganboing/go-esx,GeorgiCodes/go,shazow/go,youprofit/go,parkdy/go,4ad/go,xinhuang327/go,famorted/go,greyhwndz/go,ObjectiveJoe/go,CiscoCloud/go,chinanjjohn2012/go,nakedgc/go,jameskumar/go,cloudflare/go,jdeng/go,uileyar/go,ichu501/go,dterei/go,zhangg/go,constantine001/go,cyberroadie/go,b54898533/go,linux-on-ibm-z/go,ObjectiveJoe/go,binarycrusader/go,nawawi/go,codestation/go,sosop/go,binarycrusader/go,xinhuang327/go,b54898533/go,golang/go,ichu501/go,ganboing/go-esx,vsekhar/elastic-go,4ad/go,dafyddcrosby/go,andrewchambers/go,yangzhongj/go,Badredapple/go,mbrukman/go,jdhenke/go,golang/go,akutz/go,jasonxiong/go,ifagnosticism/go,dafyddcrosby/go,cyberroadie/go,ImJasonH/go,leeric92/go,dafyddcrosby/go,cyberroadie/go,goodlang/good,vsdutka/go,danycoro/go,mbrukman/go,andrewchambers/go,CodyGuo/go,beealone/go,uileyar/go,ErikDubbelboer/go,yuhengye/go,vsdutka/go,Charlesdong/go-1,wangfakang/go-1,goodlang/good,ObjectiveJoe/go,alash3al/go,joshsammut/go,zcwfeng/go,kim-racktop/go,gdey/go,cnbin/go,JioCloud/go,vsdutka/go,CarterTsai/go,leeric92/go,polyverse-security/go,andrewchambers/go,ErikDubbelboer/go,jameskumar/go,cloudflare/go,xiaobodu/go,nakedgc/go,danycoro/go,Young55555/go,josharian/go,mgyenik/go,sndnvaps/go,mgyenik/go,ericsnowcurrently/go,famorted/go,jonahglover/go,mgyenik/go,GeorgiCodes/go,vishsingh/go,Charlesdong/go-1,cloudflare/go,Pulgafree/go,myPublicGit/go,skatsuta/go,malvira/go,JioCloud/go,Young55555/go,albertjin/golang-go,xujianhai/go,slavau/go,josharian/go,honsiorovskyi/go,derekmarcotte/go,Badredapple/go,momchil-velikov/go,Young55555/go,parkdy/go,AALEKH/go,jameskumar/go,nakedgc/go,ifagnosticism/go,skotti/go,codestation/go,jonahglover/go,yuhengye/go,cloudrain21/go,CodyGuo/go,andrewchambers/go,danielsoro/go,cookerzhu/go,beealone/go,AALEKH/go,albertjin/golang-go,cainiaocome/go,constantine001/go,mwhudson/go,devpadawan/go,miolini/go,Young55555/go,jasonxiong/go,akutz/go,devpadawan/go,momchil-velikov/go,cloudflare/go,nakedgc/go,zcwfeng/go,kakuhiroshi/go,Young55555/go,theif519/go,donnel6809/go,jmptrader/go,CiscoCloud/go,GeorgiCodes/go,cloudrain21/go,derekmarcotte/go,dterei/go,cnbin/go,CarterTsai/go,mbrukman/go,Stan-Lin-/go,XuYunnan/go,arschles/golang-go,myPublicGit/go,leeric92/go,ErikDubbelboer/go,deft-code/go,linux-on-ibm-z/go,ichu501/go,jacobxk/go,rentongzhang/go,springning/go,akutz/go,kakuhiroshi/go,Samurais/go,jacobsa/go,Charlesdong/go-1,jmptrader/go,CAFxX/go,XuYunnan/go,rentongzhang/go,alash3al/go,alash3al/go,CarterTsai/go,yasarkunduz/go,JioCloud/go,Endika/go,likesea/go,vsdutka/go,sinuos/go,dkolbly/go,zhangg/go,stormltf/go,donnel6809/go,JioCloud/go,Jordanzuo/go,kakuhiroshi/go,alash3al/go,RBEGamer/go,nawawi/go,ObjectiveJoe/go,wangfakang/go-1,ObjectiveJoe/go,ifagnosticism/go,alex-zhang/go,jonathanmarvens/go,cookerzhu/go,jacobhaven/go,suncycheng/go,Cofyc/go,slavau/go,jdeng/go,cainiaocome/go,jdeng/go,Young55555/go,parkdy/go,akutz/go,momchil-velikov/go,monetate/go,Pulgafree/go,momchil-velikov/go,CiscoCloud/go,dterei/go,yuhengye/go,Cofyc/go,dgnorton/go,arschles/go-1,baiyunping333/go,honsiorovskyi/go,sndnvaps/go,youprofit/go,sosop/go,binarycrusader/go,XuYunnan/go,jdhenke/go,mikekap/go,mbrukman/go,odeke-em/go,jameskumar/go,theass/go,springning/go,deft-code/go,kim-racktop/go,zouchao2010/go,ImJasonH/go,NichoZhang/go,chinanjjohn2012/go,cyberroadie/go,ifagnosticism/go,b54898533/go,ganboing/go-esx,odeke-em/go,vsekhar/elastic-go,vanloswang/go,mikekap/go,miolini/go,kakuhiroshi/go,jacobhaven/go,zouchao2010/go,kim-racktop/go,mwhudson/go,gohin/go,deft-code/go,danielsoro/go,zhangg/go,deft-code/go,lihuanghai/go,albertjin/golang-go,Charlesdong/go-1,akutz/go,skatsuta/go,xujianhai/go,andrewchambers/go,leeric92/go,shazow/go,linux-on-ibm-z/go,uileyar/go,qskycolor/go,yasarkunduz/go,willjunspecial/go,Cofyc/go,rentongzhang/go,rachtsingh/gogojuice,Pulgafree/go,jdeng/go,momchil-velikov/go,willjunspecial/go,cloudrain21/go,cyberroadie/go,cookerzhu/go,vsekhar/elastic-go,dterei/go,CAFxX/go,miolini/go,JioCloud/go,ImJasonH/go,suncycheng/go,dpatel06/go,NichoZhang/go,derekmarcotte/go,myPublicGit/go,Stan-Lin-/go,momchil-velikov/go,theif519/go,vishsingh/go,pgmreddy/go,qskycolor/go,chinanjjohn2012/go,yasarkunduz/go,xiuzhifu/go,GeorgiCodes/go,mikekap/go,skatsuta/go,mwhudson/go,youprofit/go,alex-zhang/go,yasarkunduz/go,roth1002/go,shines77/go,mbrukman/go,mdp/go,springning/go,jefby/go,xujianhai/go,stormltf/go,linux-on-ibm-z/go,likesea/go,jonasi/go,jonasi/go,yangzhongj/go,goodlang/good,Pulgafree/go,chinanjjohn2012/go,albertjin/golang-go,Stan-Lin-/go,cnbin/go,NichoZhang/go,ObjectiveJoe/go,arschles/golang-go,g522342435/go,XuYunnan/go,sinuos/go,slavau/go,roth1002/go,dgnorton/go,Cofyc/go,sosop/go,qskycolor/go,constantine001/go,cainiaocome/go,JioCloud/go,ericsnowcurrently/go,shines77/go,andrewchambers/go,odeke-em/go,Young55555/go,shines77/go,odeke-em/go,RBEGamer/go,jmptrader/go,danielsoro/go,uileyar/go,qskycolor/go,leeric92/go,JioCloud/go,zcwfeng/go,CodyGuo/go,arschles/go-1,monetate/go,devpadawan/go,beealone/go,cookerzhu/go,dgnorton/go,vsdutka/go,jefby/go,zcwfeng/go,undergrowthlinear/go,shines77/go,RBEGamer/go,ichu501/go,samanalysis/go,xiaobodu/go,joshsammut/go,cloudflare/go,uileyar/go,CAFxX/go,jacobhaven/go,golang/go,Samurais/go,xinhuang327/go,Badredapple/go,theass/go,mdp/go,fjballest/golang,Charlesdong/go-1,samanalysis/go,rachtsingh/gogojuice,xujianhai/go,Charlesdong/go-1,theass/go,CiscoCloud/go,pgmreddy/go,4ad/go,undergrowthlinear/go,dterei/go,alash3al/go,monetate/go,WIZARD-CXY/go,binarycrusader/go,skotti/go,jonathanmarvens/go,josharian/go,goodlang/good,mikekap/go,gohin/go,ericsnowcurrently/go,kevinc0825/go,rachtsingh/gogojuice,kakuhiroshi/go,arschles/go-1,NunoEdgarGub1/go,arschles/golang-go,xujianhai/go,skotti/go,albertjin/golang-go,dkolbly/go,g522342435/go,lihuanghai/go,danycoro/go,baiyunping333/go,uileyar/go,joshsammut/go,monetate/go,AALEKH/go,Samurais/go,GeorgiCodes/go,Badredapple/go,Samurais/go,snowsnail/go,willjunspecial/go,nakedgc/go,ganboing/go-esx,dgnorton/go,gdey/go,sinuos/go,shines77/go,goodlang/good,sinuos/go,b54898533/go,ericsnowcurrently/go,polyverse-security/go,jasonxiong/go,jacobhaven/go,slavau/go,kakuhiroshi/go,sosop/go,jacobsa/go,donnel6809/go,Cofyc/go,jdhenke/go,wangfakang/go-1,g522342435/go,jdeng/go,jefby/go,willjunspecial/go,myPublicGit/go,jefby/go,dpatel06/go,willjunspecial/go,jdeng/go,Pulgafree/go,donnel6809/go,Pulgafree/go,JioCloud/go,Jordanzuo/go,miolini/go,alex-zhang/go,chinanjjohn2012/go,springning/go,chinanjjohn2012/go,monetate/go,sinuos/go,snowsnail/go,xiuzhifu/go,shazow/go,jdhenke/go,jasonxiong/go,jasonxiong/go,momchil-velikov/go,uileyar/go,polyverse-security/go,devpadawan/go,alash3al/go,AALEKH/go,mikekap/go,b54898533/go,nawawi/go,mbrukman/go,wangfakang/go-1,Jordanzuo/go,dgnorton/go,skatsuta/go,jmptrader/go,ganboing/go-esx,jonasi/go,XuYunnan/go,odeke-em/go,springning/go,dkolbly/go,binarycrusader/go,AALEKH/go,Jordanzuo/go,4ad/go,theif519/go,jefby/go,pgmreddy/go,rentongzhang/go,yangzhongj/go,theass/go,cookerzhu/go,skotti/go,miolini/go,mgyenik/go,greyhwndz/go,dkolbly/go,youprofit/go,cnbin/go,honsiorovskyi/go,ericsnowcurrently/go,cloudrain21/go,mbrukman/go,b54898533/go,g522342435/go,vanloswang/go,constantine001/go,xujianhai/go,fjballest/golang,rachtsingh/gogojuice,danielsoro/go,arschles/golang-go,shines77/go,malvira/go,constantine001/go,linux-on-ibm-z/go,cyberroadie/go,youprofit/go,WIZARD-CXY/go,shines77/go,skotti/go,ichu501/go,jonasi/go,linux-on-ibm-z/go,joshsammut/go,mwhudson/go,derekmarcotte/go,beealone/go,jacobhaven/go,derekmarcotte/go,vishsingh/go,roth1002/go,constantine001/go,Charlesdong/go-1,cloudrain21/go,dpatel06/go,arschles/golang-go,NichoZhang/go,derekmarcotte/go,gohin/go,linux-on-ibm-z/go,Endika/go,jmptrader/go,CAFxX/go,qskycolor/go,NunoEdgarGub1/go,mgyenik/go,Samurais/go,joshsammut/go,wangfakang/go-1,fjballest/golang,mikekap/go,skatsuta/go,theass/go,codestation/go,myPublicGit/go,Endika/go,CarterTsai/go,pgmreddy/go,sosop/go,ObjectiveJoe/go,cainiaocome/go,rentongzhang/go,yuhengye/go,jdeng/go,snowsnail/go,mdp/go,WIZARD-CXY/go,goodlang/good,lihuanghai/go,suncycheng/go,jonahglover/go,xinhuang327/go,jonathanmarvens/go,dpatel06/go,Cofyc/go,jacobxk/go,odeke-em/go,jmptrader/go,danycoro/go,jonathanmarvens/go,arschles/go-1,CAFxX/go,famorted/go,beealone/go,gdey/go,pgmreddy/go,polyverse-security/go,CodyGuo/go,kevinc0825/go,lihuanghai/go,vsekhar/elastic-go,parkdy/go,jmptrader/go,devpadawan/go,mwhudson/go,cainiaocome/go,akutz/go,Pulgafree/go,cainiaocome/go,gdey/go,stormltf/go,ifagnosticism/go,sndnvaps/go,Stan-Lin-/go,rachtsingh/gogojuice,vsekhar/elastic-go,binarycrusader/go,roth1002/go,b54898533/go,devpadawan/go,rentongzhang/go,greyhwndz/go,zouchao2010/go,XuYunnan/go,RBEGamer/go,g522342435/go,undergrowthlinear/go,CodyGuo/go,leeric92/go,cainiaocome/go,albertjin/golang-go,jonathanmarvens/go,dkolbly/go,sinuos/go,kevinc0825/go,fjballest/golang,arschles/go-1,arschles/go-1,vishsingh/go,danielsoro/go,vsekhar/elastic-go,wangfakang/go-1,CarterTsai/go,g522342435/go,vanloswang/go,donnel6809/go,golang/go,snowsnail/go,CodyGuo/go,greyhwndz/go,mgyenik/go,polyverse-security/go,ImJasonH/go,mdp/go,danycoro/go,Samurais/go,suncycheng/go,deft-code/go,wangfakang/go-1,wangfakang/go-1,zcwfeng/go,monetate/go,greyhwndz/go,xinhuang327/go,dgnorton/go,jonasi/go,cainiaocome/go,ifagnosticism/go,mdp/go,jacobxk/go,monetate/go,theif519/go,derekmarcotte/go,GeorgiCodes/go,gohin/go,baiyunping333/go,ObjectiveJoe/go,arschles/golang-go,dpatel06/go,GeorgiCodes/go,binarycrusader/go,arschles/golang-go,kim-racktop/go,sosop/go,Endika/go,jefby/go,derekmarcotte/go,yasarkunduz/go,jasonxiong/go,baiyunping333/go,lihuanghai/go,CiscoCloud/go,yasarkunduz/go,springning/go,skatsuta/go