package foo; | |||||
@interface MyAnnotation { | |||||
} | |||||
public aspect DeclareAtType { | |||||
declare @type : C : @MyAnnotation; | |||||
} | |||||
class C { | |||||
} |
*/ | */ | ||||
public class Ajc170Tests extends org.aspectj.testing.XMLBasedAjcTestCase { | public class Ajc170Tests extends org.aspectj.testing.XMLBasedAjcTestCase { | ||||
public void testSanity1() { | |||||
runTest("sanity 1"); | |||||
} | |||||
public void testMissingImpl_363979() { | public void testMissingImpl_363979() { | ||||
runTest("missing impl"); | runTest("missing impl"); | ||||
} | } |
<suite> | <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"> | <ajc-test dir="bugs170/pr363979" title="missing impl"> | ||||
<compile files="Example.java" options="-1.5"/> | <compile files="Example.java" options="-1.5"/> | ||||
<run class="Example"> | <run class="Example"> |