aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/bugs151/Pr126316.aj14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/bugs151/Pr126316.aj b/tests/bugs151/Pr126316.aj
new file mode 100644
index 000000000..bc6c6ee49
--- /dev/null
+++ b/tests/bugs151/Pr126316.aj
@@ -0,0 +1,14 @@
+class EnumFun<E extends Enum<E>> {
+
+ public E get() { return null; }
+
+}
+
+aspect SimpleAspect {
+
+ Object around() : execution(* *(..)) {
+ System.out.println("before");
+ return proceed();
+ }
+
+} \ No newline at end of file