1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/test/tools/javac/6330920/T6330920.java Wed Apr 27 01:34:52 2016 +0800 1.3 @@ -0,0 +1,12 @@ 1.4 +/* 1.5 + * @test /nodynamiccopyright/ 1.6 + * @bug 6330920 1.7 + * @summary Verify that javac doesn't duplicate method error on method with error 1.8 + * @author Peter von der Ah\u00e9 1.9 + * @compile/fail/ref=T6330920.out -XDrawDiagnostics T6330920.java 1.10 + */ 1.11 + 1.12 +public class T6330920 { 1.13 + public void test(T6330920 x) {} 1.14 + public void test(T6330920Missing x) {} 1.15 +}