diff options
Diffstat (limited to 'tests/features160/parameterValueMatching/EnumTest1.java')
-rw-r--r-- | tests/features160/parameterValueMatching/EnumTest1.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/features160/parameterValueMatching/EnumTest1.java b/tests/features160/parameterValueMatching/EnumTest1.java new file mode 100644 index 000000000..47966ecbd --- /dev/null +++ b/tests/features160/parameterValueMatching/EnumTest1.java @@ -0,0 +1,14 @@ +package a; + +import p.*; + +public aspect EnumTest1 { + 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(Color.RED) * *(..)) {} // referencing Color via import of p.* +}
\ No newline at end of file |