summaryrefslogtreecommitdiffstats
path: root/tests/bugs153/pr149071
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs153/pr149071')
-rw-r--r--tests/bugs153/pr149071/AspectItd.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/bugs153/pr149071/AspectItd.java b/tests/bugs153/pr149071/AspectItd.java
index 30e749169..54a633ab5 100644
--- a/tests/bugs153/pr149071/AspectItd.java
+++ b/tests/bugs153/pr149071/AspectItd.java
@@ -1,11 +1,17 @@
public aspect AspectItd {
//private interface Holder {}
private int Holder.x;
- static aspect Inner {
+ static class Inner {
int doIt(Holder h) {
return h.x++;
}
}
+
+ public static void main(String []argv) {
+ new Inner().doIt(new HolderImpl());
+ }
}
interface Holder{}
+
+class HolderImpl implements Holder {}