miroir de
https://github.com/eclipse-aspectj/aspectj.git
synchronisé 2024-08-27 05:54:38 +02:00
10 lignes
240 B
Java
10 lignes
240 B
Java
import org.aspectj.testing.Tester;
|
|
|
|
public class TypeCoercions {
|
|
public static void main(String[] args) {
|
|
char c1 = 'e', c2 = 'f';
|
|
Tester.checkEqual("hello".indexOf(c1), 1);
|
|
Tester.checkEqual("hello".indexOf(c2), -1);
|
|
}
|
|
}
|