summaryrefslogtreecommitdiffstats
path: root/tests/bugs164/pr265729
diff options
context:
space:
mode:
authoraclement <aclement>2009-02-26 17:12:47 +0000
committeraclement <aclement>2009-02-26 17:12:47 +0000
commita378bdbeeb2f6fe19befbb45d2b44f1afb77ab44 (patch)
tree4f83570ee021d4349845c9411725246325cda939 /tests/bugs164/pr265729
parent7d41bf5a3b2fb4761c030c7c208752cfee2a514a (diff)
downloadaspectj-a378bdbeeb2f6fe19befbb45d2b44f1afb77ab44.tar.gz
aspectj-a378bdbeeb2f6fe19befbb45d2b44f1afb77ab44.zip
265729: testing ctor/field/method itds
Diffstat (limited to 'tests/bugs164/pr265729')
-rw-r--r--tests/bugs164/pr265729/Aspect.java8
-rw-r--r--tests/bugs164/pr265729/Fruit.java3
-rw-r--r--tests/bugs164/pr265729/Orange.java4
-rw-r--r--tests/bugs164/pr265729/Strawberry.java4
4 files changed, 19 insertions, 0 deletions
diff --git a/tests/bugs164/pr265729/Aspect.java b/tests/bugs164/pr265729/Aspect.java
new file mode 100644
index 000000000..5e48a1ca3
--- /dev/null
+++ b/tests/bugs164/pr265729/Aspect.java
@@ -0,0 +1,8 @@
+import java.awt.*;
+import demo.*;
+
+public aspect Aspect {
+ public Color Orange.getColor() { return Color.orange; }
+ public Color Strawberry.color = Color.red;
+ public Fruit.new(Color c,String name) {this();}
+}
diff --git a/tests/bugs164/pr265729/Fruit.java b/tests/bugs164/pr265729/Fruit.java
new file mode 100644
index 000000000..ffe4d54e9
--- /dev/null
+++ b/tests/bugs164/pr265729/Fruit.java
@@ -0,0 +1,3 @@
+package demo;
+public class Fruit {
+}
diff --git a/tests/bugs164/pr265729/Orange.java b/tests/bugs164/pr265729/Orange.java
new file mode 100644
index 000000000..60c1dbff4
--- /dev/null
+++ b/tests/bugs164/pr265729/Orange.java
@@ -0,0 +1,4 @@
+package demo;
+
+public class Orange {
+}
diff --git a/tests/bugs164/pr265729/Strawberry.java b/tests/bugs164/pr265729/Strawberry.java
new file mode 100644
index 000000000..5547e3e36
--- /dev/null
+++ b/tests/bugs164/pr265729/Strawberry.java
@@ -0,0 +1,4 @@
+package demo;
+
+public class Strawberry {
+}