public class TernaryAssignments { public static void main(String[] args) { new TernaryAssignments().realMain(args); } public void realMain(String[] args) { boolean t = true; String v = v = v=v=v=v=v=v=v=v="s"; String s = t ? s="s" : "unset"; org.aspectj.testing.Tester.checkEqual(s, "s"); } }