test case
IDEA-111465 ("Overly-strong type cast" inspection false negative in foreach)