aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs1919/github_24/MaybeMissingClass.java
blob: 17952583bb72d7fe41a5a3a4793367e63676afe9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
public class MaybeMissingClass {
  public static void main(String[] args) {
    f1();
    f2();
    f3();
    f4();
    f5();
    f6();
  }

  public static MaybeMissingClass f1() {
    System.out.println("MaybeMissingClass.f1");
    return null;
  }

  public static MaybeMissingClass[] f2() {
    System.out.println("MaybeMissingClass.f2");
    return null;
  }

  public static MaybeMissingClass[][] f3() {
    System.out.println("MaybeMissingClass.f3");
    return null;
  }

  public static int f4() {
    System.out.println("MaybeMissingClass.f4");
    return 0;
  }

  public static int[] f5() {
    System.out.println("MaybeMissingClass.f5");
    return new int[2];
  }

  public static int[][] f6() {
    System.out.println("MaybeMissingClass.f6");
    return new int[2][2];
  }
}