summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ajcTests.xml9
-rw-r--r--tests/bugs/caseSensitivity/uniqueId/Bug.aj5
-rw-r--r--tests/bugs/caseSensitivity/uniqueId/Numbered.java2
3 files changed, 15 insertions, 1 deletions
diff --git a/tests/ajcTests.xml b/tests/ajcTests.xml
index b7a030283..a853bef28 100644
--- a/tests/ajcTests.xml
+++ b/tests/ajcTests.xml
@@ -7111,5 +7111,12 @@
<compile files="AbstractBaseAndInterTypeInterface.java">
</compile>
</ajc-test>
-
+
+ <ajc-test dir="bugs/caseSensitivity" pr="42515"
+ title="NPE When compiling intertype declaration">
+ <compile files="uniqueId/Numbered.java,uniqueId/Bug.aj">
+ <message kind="error" line="4"/>
+ </compile>
+ </ajc-test>
+
</suite>
diff --git a/tests/bugs/caseSensitivity/uniqueId/Bug.aj b/tests/bugs/caseSensitivity/uniqueId/Bug.aj
new file mode 100644
index 000000000..cefd0924a
--- /dev/null
+++ b/tests/bugs/caseSensitivity/uniqueId/Bug.aj
@@ -0,0 +1,5 @@
+package uniqueid;
+
+public aspect Bug {
+ private long Numbered.objId;
+} \ No newline at end of file
diff --git a/tests/bugs/caseSensitivity/uniqueId/Numbered.java b/tests/bugs/caseSensitivity/uniqueId/Numbered.java
new file mode 100644
index 000000000..29287dfa2
--- /dev/null
+++ b/tests/bugs/caseSensitivity/uniqueId/Numbered.java
@@ -0,0 +1,2 @@
+package uniqueId;
+public interface Numbered {} \ No newline at end of file