diff options
author | aclement <aclement> | 2005-10-18 15:40:35 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-10-18 15:40:35 +0000 |
commit | ae612d9752200a3784de33ea6b79815e77aabaed (patch) | |
tree | c6aa9d8bee4321e19589608821515536fd02915c /tests | |
parent | ec9a49e930404239f5e681c133454f429fcc1ca6 (diff) | |
download | aspectj-ae612d9752200a3784de33ea6b79815e77aabaed.tar.gz aspectj-ae612d9752200a3784de33ea6b79815e77aabaed.zip |
tests and fix for pr112027
Diffstat (limited to 'tests')
-rw-r--r-- | tests/bugs150/pr112027.aj | 4 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java | 2 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc150/ajc150.xml | 4 |
3 files changed, 10 insertions, 0 deletions
diff --git a/tests/bugs150/pr112027.aj b/tests/bugs150/pr112027.aj new file mode 100644 index 000000000..08b4eac1a --- /dev/null +++ b/tests/bugs150/pr112027.aj @@ -0,0 +1,4 @@ +public aspect pr112027 { + pointcut pc() : this(pr112027); + before(pr112027 tis) : pc() && this(tis) { } +} diff --git a/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java b/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java index 3462d7f64..c2ac24822 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java @@ -50,6 +50,8 @@ public class Ajc150Tests extends org.aspectj.testing.XMLBasedAjcTestCase { public void testGenericITDsAndAbstractMethodError_pr102357() { runTest("generic itds and abstract method error");} */ + public void testUnboundFormal_pr112027() { runTest("unexpected error unboundFormalInPC");} + public void testBadDecp_pr110788_1() { runTest("bad generic decp - 1");} public void testBadDecp_pr110788_2() { runTest("bad generic decp - 2");} public void testBadDecp_pr110788_3() { runTest("bad generic decp - 3");} diff --git a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml index 169a814b4..dc7553ede 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml +++ b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml @@ -5014,6 +5014,10 @@ <compile files="pr102357.aj"/> <run class="pr102357"/> </ajc-test> + + <ajc-test dir="bugs150" title="unexpected error unboundFormalInPC"> + <compile files="pr112027.aj"/> + </ajc-test> <ajc-test dir="bugs150" title="ITD varargs in constructor"> <compile files="pr111481.aj" options="-1.5"/> |