aboutsummaryrefslogtreecommitdiffstats
path: root/tests/errors/NotFound.java
blob: 2960b29f17eb277aebc1f32c2e111075e64bde96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import foo.bar.Bax; //ERR: can't find type foo.bar.Bax
import a.b.c.*; //ERR: can't find package a.b.c

public class NotFound {
    public static void main(String[] args) {
        g().     //ERR: method g() not found
            bar();

        Mumble m = //ERR: type Mumble not found
            new Mumble(); //ERR: type Mumble not found

        m.go();

        Mumble m2 = null; //ERR: type Mumble not found

        CONST  //ERR: CONST not found
            .m(1);
    }
}