diff options
Diffstat (limited to 'tests/pos/java-interop/t1745/S.scala')
-rw-r--r-- | tests/pos/java-interop/t1745/S.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/pos/java-interop/t1745/S.scala b/tests/pos/java-interop/t1745/S.scala new file mode 100644 index 000000000..84c437133 --- /dev/null +++ b/tests/pos/java-interop/t1745/S.scala @@ -0,0 +1,7 @@ +case class S1(n: Int) { } +case class S2(n: Int, p: Int) { } +class S3 { } +object S3 { + def foo() = "abc" + def bar[T](x: T): T = x +} |