@@ -0,0 +1,14 @@ | |||
package foo; | |||
@interface MyAnnotation { | |||
} | |||
public aspect DeclareAtType { | |||
declare @type : C : @MyAnnotation; | |||
} | |||
class C { | |||
} |
@@ -21,6 +21,10 @@ import org.aspectj.testing.XMLBasedAjcTestCase; | |||
*/ | |||
public class Ajc170Tests extends org.aspectj.testing.XMLBasedAjcTestCase { | |||
public void testSanity1() { | |||
runTest("sanity 1"); | |||
} | |||
public void testMissingImpl_363979() { | |||
runTest("missing impl"); | |||
} |
@@ -2,6 +2,11 @@ | |||
<suite> | |||
<ajc-test dir="bugs170/sanity" title="sanity 1"> | |||
<compile files="DeclareAtType.java" options="-1.5"> | |||
</compile> | |||
</ajc-test> | |||
<ajc-test dir="bugs170/pr363979" title="missing impl"> | |||
<compile files="Example.java" options="-1.5"/> | |||
<run class="Example"> |