aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs171/pr73507/Case1.java
blob: 246653631d4e356963c6cfa9eabe6c9fc0c6275e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import java.lang.reflect.*;

interface I {
}


class C implements I {
}

public aspect Case1 {

  public int I.i;

  public static void main(String []argv) throws Exception {
    Field f =  C.class.getField("i");
    if (f==null) System.out.println("Couldn't find a field called i");
    else         System.out.println("Found a field called i");
  }
  
}