diff options
author | Paul Phillips <paulp@improving.org> | 2011-06-21 04:28:05 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-06-21 04:28:05 +0000 |
commit | c41277163529af60b3d53b0019b15b57f1a0d576 (patch) | |
tree | 024e614b7430daab1c8edb49b41b2b0b766417ba /test/files/run | |
parent | 26ad0c9e8c60816543c8a4474c703fb1be3345c9 (diff) | |
download | scala-c41277163529af60b3d53b0019b15b57f1a0d576.tar.gz scala-c41277163529af60b3d53b0019b15b57f1a0d576.tar.bz2 scala-c41277163529af60b3d53b0019b15b57f1a0d576.zip |
Test case closes #4601, no review.
Diffstat (limited to 'test/files/run')
-rw-r--r-- | test/files/run/bug4601.check | 1 | ||||
-rw-r--r-- | test/files/run/bug4601.scala | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/test/files/run/bug4601.check b/test/files/run/bug4601.check new file mode 100644 index 0000000000..83b0b0b0ff --- /dev/null +++ b/test/files/run/bug4601.check @@ -0,0 +1 @@ +'blubber diff --git a/test/files/run/bug4601.scala b/test/files/run/bug4601.scala new file mode 100644 index 0000000000..fe40634842 --- /dev/null +++ b/test/files/run/bug4601.scala @@ -0,0 +1,15 @@ +class A + +trait B { + self: A => + + def test { + println('blubber) + } +} + +object Test extends A with B { + def main(args: Array[String]) { + test + } +}
\ No newline at end of file |