Where is Y declared?

Code:
x var byte
y var byte
x = 1
y = 0
SELECT CASE x
  CASE 1
   y = 10
  CASE 2, 3
   y = 20
  CASE IS > 5
   y = 100
  CASE ELSE
   y = 0
  END SELECT
Does this compile without errors?