connecting 5v output to analog input to "test cables"

Where did this code come from??
In the OP #1

SORRY! Now I Get It... Thanks for making it easier to see. Compiles OK for me on 1.8.5