diff options
author | Paul Phillips <paulp@improving.org> | 2011-02-20 00:06:36 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-02-20 00:06:36 +0000 |
commit | 3f96a415e123e5fc99c24e68ff5a9a53dc56e1fc (patch) | |
tree | c5dab82b6e10fd68d6ec0aa06ab183e3b92df9ca /test/files | |
parent | 68d13416b50acb1779a3befe817fb2a7eabe9f14 (diff) | |
download | scala-3f96a415e123e5fc99c24e68ff5a9a53dc56e1fc.tar.gz scala-3f96a415e123e5fc99c24e68ff5a9a53dc56e1fc.tar.bz2 scala-3f96a415e123e5fc99c24e68ff5a9a53dc56e1fc.zip |
Test case closes #3137, no review.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/pos/bug3137.scala | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/files/pos/bug3137.scala b/test/files/pos/bug3137.scala new file mode 100644 index 0000000000..cb7317af01 --- /dev/null +++ b/test/files/pos/bug3137.scala @@ -0,0 +1,17 @@ +trait A { + val C: Any +} + +class B extends A { + class C + object C +} + +trait AA { + type C + def C: Int => C +} + +class BB extends AA { + case class C(v: Int) +} |