From 74be1369a594370e41dce499f23875ebd3e1b088 Mon Sep 17 00:00:00 2001 From: Jason Zaugg Date: Sat, 5 May 2012 13:52:33 +0200 Subject: Test case closes SI-1785. --- test/files/pos/t1785.scala | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/files/pos/t1785.scala (limited to 'test/files/pos') diff --git a/test/files/pos/t1785.scala b/test/files/pos/t1785.scala new file mode 100644 index 0000000000..0b1fafb27c --- /dev/null +++ b/test/files/pos/t1785.scala @@ -0,0 +1,7 @@ +class t1785 { + def apply[T](x: Int) = 1 +} + +object test { + (new t1785)[Int](1) +} -- cgit v1.2.3