diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/files/pos/t5013/Bar_2.scala | 5 | ||||
-rw-r--r-- | test/files/pos/t5013/Foo_1.scala | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/test/files/pos/t5013/Bar_2.scala b/test/files/pos/t5013/Bar_2.scala new file mode 100644 index 0000000000..9eac556a23 --- /dev/null +++ b/test/files/pos/t5013/Bar_2.scala @@ -0,0 +1,5 @@ +package b + +class Bar extends a.Foo { + println(x) // Error: Not found: value x +} diff --git a/test/files/pos/t5013/Foo_1.scala b/test/files/pos/t5013/Foo_1.scala new file mode 100644 index 0000000000..ee21112a3e --- /dev/null +++ b/test/files/pos/t5013/Foo_1.scala @@ -0,0 +1,5 @@ +package a + +class Foo { + protected[Foo] var x = 0 +} |