source: trunk/openjdk/langtools/test/tools/javac/T6214885.java

Last change on this file was 2, checked in by dmik, 15 years ago

Imported OpenJDK 6 b19 sources from Oracle.

File size: 375 bytes
Line 
1/*
2 * @test /nodynamiccopyright/
3 * @bug 6214885
4 * @summary This test exercises features provided by the new internal Diagnostics API
5 * @compile/fail/ref=T6214885a.out -XDstdout -XDdiags=%b:%l%_%t%m|%p%m T6214885.java
6 * @compile/fail/ref=T6214885b.out -XDstdout -XDdiags=%b:%l:%c%_%t%m|%p%m T6214885.java
7 */
8class T6214885
9{
10 public void m() {
11 x = 1;
12 }
13}
Note: See TracBrowser for help on using the repository browser.