case :hi
when :hi
end

case true; when true; puts :hi; when false; puts :bye; end

case; when *foo; end

case :hi
when :hi
else
:b
end

case this; when FooBar, BazBonk; end

case
when foo == bar
end

case
when a
else
  # empty
end

case type;
  ;when :b;
  ;  else;
   end

case ;;;;;;;; when 1; end

case 1 in 2
when 3
end

case 1 in 2; when 3; end

case 1 in 2
in 3
end

case 1 in 2; in 3; end

case a
in b if c and d
  e
end

1.then do
  case 1
  in ^_1
  end
end
