We propose a test of nonlocality for continuous variables using a two-mode squeezed state as the source of nonlocal correlations and a measurement scheme based on conditional homodyne detection. Both the Clauser-Horne-Shimony-Holt and the Clauser-Horne inequality are constructed from the conditional homodyne data and found to be violated for a squeezing parameter larger than r approximately 0.48.