summaryrefslogtreecommitdiffstats
path: root/tests/bugs/declarePrecedenceWithClasses/Priority.aj
blob: fc44fbff05f3e202e75025c92769520ba4027223 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Bug 53012
// Although the declare precedence mentions interfaces (and not aspects explicitly), it does
// mention with a '+' suffix - this should be allowed.

public aspect Priority {
	public interface Highest {}
	public interface Lowest {}
	declare precedence: Highest+, *, Lowest+;
}

aspect Security implements Priority.Highest {}