Context: Y has just told X that he/she is considering switching his/her job.

X: Are you concerned about your salary?
Y: Only when the cost of living increases.