mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-09-13 15:45:38 +02:00
16 lines
398 B
Java
16 lines
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");
|
||
|
}
|
||
|
}
|
||
|
|