summaryrefslogtreecommitdiff
path: root/test/files/pos/t1745/S.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t1745/S.scala')
-rw-r--r--test/files/pos/t1745/S.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/pos/t1745/S.scala b/test/files/pos/t1745/S.scala
new file mode 100644
index 0000000000..70210ba502
--- /dev/null
+++ b/test/files/pos/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
+} \ No newline at end of file