Can you give an example?

Any vertical line is not a function; it will not pass the vertical line test. Otherwise any straight line is a function.

A vertical line has an equation x = k, where k is a constant.

Examples:

x=0

x=-3

x=2

x=5/6