Arduino uno analog A0 voltage measurement error with virtual pins

I tried this but it will not compile.