summaryrefslogtreecommitdiff
path: root/test/files/run/t3667.scala
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@epfl.ch>2010-08-23 13:17:00 +0000
committerLukas Rytz <lukas.rytz@epfl.ch>2010-08-23 13:17:00 +0000
commit0fc61a72e4ef47a6058b7207e68b970fd4d48b90 (patch)
tree824d4b4c268614185cdafab9899e8082df9bfa3f /test/files/run/t3667.scala
parent38e707849c1f8fad4bf662ea66a2922fb67c635f (diff)
downloadscala-0fc61a72e4ef47a6058b7207e68b970fd4d48b90.tar.gz
scala-0fc61a72e4ef47a6058b7207e68b970fd4d48b90.tar.bz2
scala-0fc61a72e4ef47a6058b7207e68b970fd4d48b90.zip
test for #3667. no review
Diffstat (limited to 'test/files/run/t3667.scala')
-rw-r--r--test/files/run/t3667.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/run/t3667.scala b/test/files/run/t3667.scala
index 804432c516..7bd0b4ec5e 100644
--- a/test/files/run/t3667.scala
+++ b/test/files/run/t3667.scala
@@ -18,6 +18,14 @@ object Test {
ser(new o3.Inner(1))
o3.Inner
ser(new o3.Inner(1))
+
+ foo
+ }
+
+ def foo {
+ case class C(x: Int)
+ ser(new C(1))
+ ser(C)
}
def ser(o: AnyRef) {