1
0
espelhamento de https://github.com/eclipse-aspectj/aspectj.git sincronizado 2024-08-26 17:58:43 +02:00
org.aspectj/tests/errors/BadStaticCast.java
2002-12-16 18:51:06 +00:00

9 linhas
185 B
Java

// Incorrect static casts to primitively foldable arguments should not
// crash the compiler.
public class BadStaticCast {
public static int foo() {
return 3 + (int)true;
}
}