High-dimensional asymptotic behavior of inference based on gwas summary statistics