diff options
author | paltherr <paltherr@epfl.ch> | 2004-04-13 13:07:54 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2004-04-13 13:07:54 +0000 |
commit | 8bc6f7c18758ed50b21464885ec8bd67d3fe2cc4 (patch) | |
tree | 87c5728ee978df6a62172dc6d0ae1cc7c3026461 /test/files/pos/bug318.scala | |
parent | acbb83de851c09cf26ef3af69d67a5b371a82181 (diff) | |
download | scala-8bc6f7c18758ed50b21464885ec8bd67d3fe2cc4.tar.gz scala-8bc6f7c18758ed50b21464885ec8bd67d3fe2cc4.tar.bz2 scala-8bc6f7c18758ed50b21464885ec8bd67d3fe2cc4.zip |
- Added pos/bug318.scala
Diffstat (limited to 'test/files/pos/bug318.scala')
-rw-r--r-- | test/files/pos/bug318.scala | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/files/pos/bug318.scala b/test/files/pos/bug318.scala new file mode 100644 index 0000000000..1b9fa4a4b3 --- /dev/null +++ b/test/files/pos/bug318.scala @@ -0,0 +1,11 @@ +// $Id$ + +object Test { + def fun: Int = { + object o { + def a: Int = 1; + class C { def b: Int = a; } + } + 0 + } +} |