diff options
Diffstat (limited to 'tests/features160/annotationValueMatching/EnumTest2.java')
-rw-r--r-- | tests/features160/annotationValueMatching/EnumTest2.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/features160/annotationValueMatching/EnumTest2.java b/tests/features160/annotationValueMatching/EnumTest2.java new file mode 100644 index 000000000..b19593906 --- /dev/null +++ b/tests/features160/annotationValueMatching/EnumTest2.java @@ -0,0 +1,14 @@ +package a; + +import p.*; + +public aspect EnumTest2 { + public static void main(String[] argv) { + + } + @TrafficLight(Color.RED) public void m() {} + @TrafficLight(Color.GREEN) public void n() {} + @TrafficLight public void o() {} + + before(): execution(@TrafficLight(p.Color.RED) * *(..)) {}; // referencing Color directly in package p +}
\ No newline at end of file |