mirror da
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-27 05:54:38 +02:00
16 righe
398 B
Java
16 righe
398 B
Java
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");
|
|
}
|
|
}
|
|
|