kopie van
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-07-25 14:24:48 +02:00
22 regels
384 B
Java
22 regels
384 B
Java
![]() |
import org.aspectj.testing.Tester;
|
||
|
|
||
|
/**
|
||
|
* Test for: PR #99
|
||
|
*/
|
||
|
|
||
|
public class CombinedLogic {
|
||
|
public static void main(String[] args) { test(); }
|
||
|
|
||
|
public static void test() {
|
||
|
Object foo = null;
|
||
|
int baz = 1;
|
||
|
int foobaz = baz;
|
||
|
|
||
|
if ((null == foo) && (baz != foobaz)) {
|
||
|
Tester.check(false, "better not");
|
||
|
} else {
|
||
|
Tester.check(true, "it better be true");
|
||
|
}
|
||
|
}
|
||
|
}
|