diff options
Diffstat (limited to 'tests/ajcTests.xml')
-rw-r--r-- | tests/ajcTests.xml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/ajcTests.xml b/tests/ajcTests.xml index 31f5a7607..b8486e3b5 100644 --- a/tests/ajcTests.xml +++ b/tests/ajcTests.xml @@ -5666,4 +5666,23 @@ <compile files="CflowCycles.java"/> <run class="CflowCycles"/> </ajc-test> + + <ajc-test dir="new" + title="incompatible advice throws clause are a compile-time error" + keywords="from-resolved_10x"> + <compile files="AdviceThrowsCf.java"> + <message kind="error" line="13"/> + <message kind="error" line="28"/> + <message kind="error" line="47"/> + <message kind="error" line="48"/> + <message kind="error" line="50"/> + + <message kind="error" line="70"/> + <message kind="error" line="74"/> + <message kind="error" line="76"/> + <message kind="error" line="78"/> + + <message kind="error" line="85"/> + </compile> + </ajc-test> </suite> |