From 5f096e0aa004a180ae2a67774574d84b32548b6c Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 19 Sep 2005 15:15:06 +0000 Subject: pr109728: testcase --- tests/bugs150/pr109728.java | 14 ++++++++++++++ tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | 2 ++ tests/src/org/aspectj/systemtest/ajc150/ajc150.xml | 4 ++++ 3 files changed, 20 insertions(+) create mode 100644 tests/bugs150/pr109728.java (limited to 'tests') diff --git a/tests/bugs150/pr109728.java b/tests/bugs150/pr109728.java new file mode 100644 index 000000000..5287087b0 --- /dev/null +++ b/tests/bugs150/pr109728.java @@ -0,0 +1,14 @@ +public class pr109728 { + + public static void main(String[]argv) { + new pr109728().m().clone(); + } + + int[] m() { return null; } +} + + + +aspect X { + before(): call(* *(..)) {} +} diff --git a/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java b/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java index dd59979fb..c6d3edfa9 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java @@ -439,6 +439,8 @@ public class Ajc150Tests extends org.aspectj.testing.XMLBasedAjcTestCase { runTest("raw and generic type conversion with itd cons"); } + public void testUnableToBuildShadows_pr109728() { runTest("Unable to build shadows");} + // helper methods..... public SyntheticRepository createRepos(File cpentry) { diff --git a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml index 5f696d89f..7d89c1dac 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml +++ b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml @@ -4775,4 +4775,8 @@ + + + + \ No newline at end of file -- cgit v1.2.3