Files
Rustam Vishnyakovandintellij-monorepo-bot 123242c4b2 EditorConfig documentation test
GitOrigin-RevId: fd52ace3d7a32ecd02c2c5ab90e077967604c15e
2019-06-16 04:03:21 +03:00

12 lines
292 B
Java

/*
Value is always true ((s = new Object()) != null; line#10)
's' was assigned (=; line#10)
Expression cannot be null as it's newly created object (new Object(); line#10)
*/
class Test {
void test() {
Object s;
if (<selection>(s = new Object()) != null</selection>) {}
}
}