aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs
diff options
context:
space:
mode:
authorjhugunin <jhugunin>2003-04-22 22:29:51 +0000
committerjhugunin <jhugunin>2003-04-22 22:29:51 +0000
commitf1d911e51803c8700edab71635036e95a968e68c (patch)
tree8131cbd503123168ab73efd2fc70491f4542b5b6 /tests/bugs
parent6c9118bfa40d75467085d23a3b0d103199e137b2 (diff)
downloadaspectj-f1d911e51803c8700edab71635036e95a968e68c.tar.gz
aspectj-f1d911e51803c8700edab71635036e95a968e68c.zip
a sketch of a test for a naming issue that doesn't appear to be an
actual bug
Diffstat (limited to 'tests/bugs')
-rw-r--r--tests/bugs/AroundNames.java28
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/bugs/AroundNames.java b/tests/bugs/AroundNames.java
new file mode 100644
index 000000000..27b2aa7f3
--- /dev/null
+++ b/tests/bugs/AroundNames.java
@@ -0,0 +1,28 @@
+public class AroundNames {
+ public static void main(String[] args) {
+ new Base().doit();
+ new Derived().doit();
+ }
+}
+
+class Base {
+ static private final void m() {}
+
+ public void doit() {
+ m();
+ }
+}
+
+class Derived {
+ static private final void m() { return; } // "Derived"; }
+
+ public void doit() {
+ m();
+ }
+}
+
+aspect A {
+ Object around(): execution(* m()) {
+ return proceed();
+ }
+} \ No newline at end of file