org.aspectj/tests/new/AmbiguousClassReference.java

16 lines
398 B
Java
Raw Normal View History

2002-12-16 19:51:06 +01:00
import java.sql.*;
import java.lang.reflect.*;
/** support mail from Dave Trombley */
public class AmbiguousClassReference {
/** @testcase PR#631 PUREJAVA expecting CE for ambiguous reference */
public static void main(String[] args) {
int[] gh;
gh = new int[5];
Array.getLength(gh);
throw new Error("Expecting compiler error, not compile/run");
}
}