You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12345678910111213 |
- import org.aspectj.testing.Tester;
-
- public class AssertsCF {
- public static void main(String[] args) {
- int x = 0;
- boolean b;
-
- assert b; // ERR: b might not be assigned
-
- assert b=false;
- if (b) {} // ERR: b might not be assigned
- }
- }
|