1/* 2 * @test /nodynamiccopyright/ 3 * @bug 8174027 4 * @summary error message should adapt to the corresponding top level element 5 * @compile/fail/ref=MessageForInterfaceTest.out -XDrawDiagnostics MessageForInterfaceTest.java 6 */ 7 8public interface MessageForInterfaceTest_ {} 9