langtools/test/tools/javac/NoClass.java
author sogoel
Fri, 05 Sep 2014 16:51:39 -0700
changeset 26529 10ec5e52bf75
parent 5520 86e4b9a9da40
permissions -rw-r--r--
8055079: Group 9c: golden files for tests in tools/javac dir Reviewed-by: jjg

/*
 * @test /nodynamiccopyright/
 * @bug 4041851
 * @summary The gramamr allows java files without class or interface
 *          declarations; when the compiler encountered this, it failed
 *          to check the validity of import declarations.
 * @author turnidge
 *
 * @compile/fail/ref=NoClass.out -XDrawDiagnostics  NoClass.java
 */

import nonexistent.pack.cls;