From 5ca799d8c980ab865b03f98083dea1e089f9ae03 Mon Sep 17 00:00:00 2001 From: Jason Zaugg Date: Sun, 6 May 2012 19:50:02 +0200 Subject: Test that primitive arrays aren't accepted as a Java generic array. They exercise both joint and separate compilation. This resolves SI-750 (which was somewhat unfairly merged with another ticket). The error message itself could do with refinement: in particular instance of the much beloved: found X, required X. --- test/files/neg/t750b/AO.java | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test/files/neg/t750b/AO.java (limited to 'test/files/neg/t750b/AO.java') diff --git a/test/files/neg/t750b/AO.java b/test/files/neg/t750b/AO.java new file mode 100644 index 0000000000..060baf9a3c --- /dev/null +++ b/test/files/neg/t750b/AO.java @@ -0,0 +1,5 @@ +public class AO { + public static void f(T[] ar0) { + System.out.println(ar0); + } +} \ No newline at end of file -- cgit v1.2.3