summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2003-10-15 11:59:22 +0000
committerpaltherr <paltherr@epfl.ch>2003-10-15 11:59:22 +0000
commit53a5a8b25428e4c4c440719fa0cb3c324f046d24 (patch)
treea62e909d1740105863b956951cc61d28d3fba776 /test
parent9b3424de031a40ccf86a7b9a4f6b48b742078cee (diff)
downloadscala-53a5a8b25428e4c4c440719fa0cb3c324f046d24.tar.gz
scala-53a5a8b25428e4c4c440719fa0cb3c324f046d24.tar.bz2
scala-53a5a8b25428e4c4c440719fa0cb3c324f046d24.zip
- Added bug 177
Diffstat (limited to 'test')
-rw-r--r--test/files/pos/bug177.scala10
-rw-r--r--test/pos/bug177.scala10
2 files changed, 20 insertions, 0 deletions
diff --git a/test/files/pos/bug177.scala b/test/files/pos/bug177.scala
new file mode 100644
index 0000000000..9bd913f179
--- /dev/null
+++ b/test/files/pos/bug177.scala
@@ -0,0 +1,10 @@
+// $Id$
+
+class A {
+ def foo = {
+ object Y {
+ def bar = 1;
+ }
+ Y.bar
+ }
+}
diff --git a/test/pos/bug177.scala b/test/pos/bug177.scala
new file mode 100644
index 0000000000..9bd913f179
--- /dev/null
+++ b/test/pos/bug177.scala
@@ -0,0 +1,10 @@
+// $Id$
+
+class A {
+ def foo = {
+ object Y {
+ def bar = 1;
+ }
+ Y.bar
+ }
+}