aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/t7532
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/pos/t7532')
-rw-r--r--tests/untried/pos/t7532/A_1.java6
-rw-r--r--tests/untried/pos/t7532/B_2.scala5
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/untried/pos/t7532/A_1.java b/tests/untried/pos/t7532/A_1.java
new file mode 100644
index 000000000..1ade76cc7
--- /dev/null
+++ b/tests/untried/pos/t7532/A_1.java
@@ -0,0 +1,6 @@
+class R {
+ public class attr { // Will have the bytecode name `R$attr`, not to be confused with `R@tr`!
+ }
+ public static class attr1 {
+ }
+}
diff --git a/tests/untried/pos/t7532/B_2.scala b/tests/untried/pos/t7532/B_2.scala
new file mode 100644
index 000000000..40bc0615a
--- /dev/null
+++ b/tests/untried/pos/t7532/B_2.scala
@@ -0,0 +1,5 @@
+object Test {
+ val r = new R
+ new r.attr() // Was: error while loading attr, class file '.../t7532-pos.obj/R$attr.class' has location not matching its contents: contains class
+ new R.attr1
+}