File: TestCaseConditional.java

package info (click to toggle)
libnb-javaparser-java 9%2B2018-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 65,172 kB
  • sloc: java: 440,096; xml: 6,359; sh: 865; makefile: 314
file content (16 lines) | stat: -rw-r--r-- 448 bytes parent folder | download | duplicates (18)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* /nodynamiccopyright/ */

public class TestCaseConditional {

    @AliveRange(varName="o", bytecodeStart=5, bytecodeLength=33)
    @AliveRange(varName="oo", bytecodeStart=23, bytecodeLength=15)
    void m(String[] args) {
        Boolean o;
        Boolean oo = ((o = Boolean.TRUE).booleanValue()) ?
                o = Boolean.TRUE :
                Boolean.FALSE;
        oo.hashCode();
        o = Boolean.FALSE;
        o.hashCode();
    }
}