The sensitivity list for the wait statement is determined in the same way as
for a conditional signal assignment. That is, if no signals are referenced in
the selected signal assignment expression or waveforms, the wait
statement has no sensitivity clause. Otherwise the sensitivity clause
contains all the signals referenced in the expression and waveforms.
An example of a selected signal assignment statement: