aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs150/pr99191/pr99191_5.java
blob: 71a697316684ab69e3439bfd9c63e42da0939497 (plain)
1
2
3
4
5
6
7
8
9
10
@interface Annotation{}
aspect B {
	
	declare @constructor : C.new(String) : @Annotation; // should be an error
	declare @constructor : B.new(int) : @Annotation; // should be an error
    
}

class C {
}