diff options
Diffstat (limited to 'test/files/run/t3667.scala')
-rw-r--r-- | test/files/run/t3667.scala | 8 |
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) { |