aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs160
diff options
context:
space:
mode:
authoraclement <aclement>2008-03-05 22:19:44 +0000
committeraclement <aclement>2008-03-05 22:19:44 +0000
commitc328f2f1dca0c38178f97dfc2aaf9d7098a7ab22 (patch)
tree123730870b832f16c23f6273d942f4c44e3fd98a /tests/bugs160
parent2ca87769965dd971e58350e91301105cba94d3fd (diff)
downloadaspectj-c328f2f1dca0c38178f97dfc2aaf9d7098a7ab22.tar.gz
aspectj-c328f2f1dca0c38178f97dfc2aaf9d7098a7ab22.zip
testcode - incorrect message with itd of default implementation using generic types
Diffstat (limited to 'tests/bugs160')
-rw-r--r--tests/bugs160/various/IncorrectMessage.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/bugs160/various/IncorrectMessage.java b/tests/bugs160/various/IncorrectMessage.java
new file mode 100644
index 000000000..632bcf3ff
--- /dev/null
+++ b/tests/bugs160/various/IncorrectMessage.java
@@ -0,0 +1,14 @@
+
+class Foo<A> extends FooBase implements Marker{}//Marker<A> { }
+
+interface Marker<A> { }
+
+aspect AspectDoWhatEver {
+ void Marker.doWhatEver() { // do nothing
+ }
+}
+
+abstract class FooBase
+{
+ abstract void doWhatEver();
+} \ No newline at end of file