1
0
Mirror von https://github.com/eclipse-aspectj/aspectj.git synchronisiert 2024-07-25 14:24:48 +02:00
org.aspectj/tests/errors/BadStaticCast.java

9 Zeilen
185 B
Java

2002-12-16 19:51:06 +01:00
// Incorrect static casts to primitively foldable arguments should not
// crash the compiler.
public class BadStaticCast {
public static int foo() {
return 3 + (int)true;
}
}