mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 00:20:54 +07:00
9 lines
244 B
Java
9 lines
244 B
Java
// "Assert 'container != null'" "true-preview"
|
|
class A{
|
|
void test(){
|
|
Integer container = Math.random() > 0.5 ? null : 1.0;
|
|
int i = 0;
|
|
assert container != null;
|
|
for (int limit = container.intValue(); i < limit; i++){}
|
|
}
|
|
} |