aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs/IntertypeDifferentThrows.java
blob: 4aaaaf66175b8bfa7fed3eb62adabc75cc37df1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class A {
  public A(){}
  public void m() throws Exception{}
}

class B extends A {
  public B(){}
  public void some_code(){
	m();
  }
}

// B.m() introduced here does not throw 'Exception' so class B above
// should compile OK!
aspect C {
  public void B.m(){}
}