diff options
author | acolyer <acolyer> | 2005-08-31 14:15:45 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2005-08-31 14:15:45 +0000 |
commit | f2af562611c7e060ebd71b9b29d6766ffcb9c727 (patch) | |
tree | a7bad3a4d1e826b17ded5752292c06240ee6e845 /tests/src | |
parent | a0ab747e10653a76abf8ddf839fa6b830e65acb1 (diff) | |
download | aspectj-f2af562611c7e060ebd71b9b29d6766ffcb9c727.tar.gz aspectj-f2af562611c7e060ebd71b9b29d6766ffcb9c727.zip |
tests for pr104024, inner class constructed inline and passed as argument to varargs method
Diffstat (limited to 'tests/src')
4 files changed, 11 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java b/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java index d19ff4146..21ee9ab7a 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java @@ -326,6 +326,10 @@ public class Ajc150Tests extends org.aspectj.testing.XMLBasedAjcTestCase { runTest("declare parents introducing override with covariance"); } + public void testInnerClassPassedToVarargs() { + runTest("inner class passed as argument to varargs method"); + } + // 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 cd05ccac5..acd56fa82 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml +++ b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml @@ -385,6 +385,11 @@ <ajc-test dir="bugs150" pr="105479" title="declare parents introducing override with covariance"> <compile files="pr105479.aj" options="-1.5"/> </ajc-test> + + <ajc-test dir="bugs150" pr="104024" title="inner class passed as argument to varargs method"> + <compile files="pr104024.aj" options="-1.5"/> + </ajc-test> + <!-- ============================================================================ --> <!-- ============================================================================ --> diff --git a/tests/src/org/aspectj/systemtest/ajc150/tests/.cvsignore b/tests/src/org/aspectj/systemtest/ajc150/tests/.cvsignore new file mode 100644 index 000000000..9d3c17f8d --- /dev/null +++ b/tests/src/org/aspectj/systemtest/ajc150/tests/.cvsignore @@ -0,0 +1 @@ +ajcTestSuite.dtd diff --git a/tests/src/org/aspectj/systemtest/tests/.cvsignore b/tests/src/org/aspectj/systemtest/tests/.cvsignore new file mode 100644 index 000000000..9d3c17f8d --- /dev/null +++ b/tests/src/org/aspectj/systemtest/tests/.cvsignore @@ -0,0 +1 @@ +ajcTestSuite.dtd |