diff options
author | jhugunin <jhugunin> | 2003-07-02 23:12:18 +0000 |
---|---|---|
committer | jhugunin <jhugunin> | 2003-07-02 23:12:18 +0000 |
commit | ba41fae6547688e8714d01be27bc81dbbe850f55 (patch) | |
tree | 942e8dfd6ff41b9c2c7d64485734020d9b38b48d /tests/ajcTests.xml | |
parent | 2e3c9191a9cb753ff54cf20592dcd0ef14bfc83a (diff) | |
download | aspectj-ba41fae6547688e8714d01be27bc81dbbe850f55.tar.gz aspectj-ba41fae6547688e8714d01be27bc81dbbe850f55.zip |
tests and fixes for two awful error message bugs:
[Bug 39458] New: Compiler crash in ajc 1.1
[Bug 39460] New: Missing import crashes compiler
Diffstat (limited to 'tests/ajcTests.xml')
-rw-r--r-- | tests/ajcTests.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/ajcTests.xml b/tests/ajcTests.xml index 1419fc198..8cf4bbc76 100644 --- a/tests/ajcTests.xml +++ b/tests/ajcTests.xml @@ -6388,4 +6388,24 @@ <compile files="TrySwitch.java"/> <run class="TrySwitch"/> </ajc-test> + + <ajc-test dir="bugs" pr="39458" + title="Compiler crash in ajc 1.1 - terrible error for inaccessible constructor"> + <compile files="NewVoid.java"> + <message kind="error" line="17"/> + <message kind="error" line="20"/> + <message kind="error" line="21"/> + + <message kind="error" line="28"/> + <message kind="warning" line="29"/> + <message kind="warning" line="30"/> + </compile> + </ajc-test> + + <ajc-test dir="bugs" pr="39460" + title="Missing import crashes compiler"> + <compile files="MissingImport.java"> + <message kind="error" line="13"/> + </compile> + </ajc-test> </suite> |