From c4590b799adbd398bb226de5893eb72bba127ed4 Mon Sep 17 00:00:00 2001 From: Aleksandar Prokopec Date: Tue, 8 May 2012 15:55:31 +0200 Subject: Add test-case for SI-5564. --- test/files/pos/t5564.scala | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/files/pos/t5564.scala diff --git a/test/files/pos/t5564.scala b/test/files/pos/t5564.scala new file mode 100644 index 0000000000..663cf88726 --- /dev/null +++ b/test/files/pos/t5564.scala @@ -0,0 +1,9 @@ + + + +trait C + + +class Foo[@specialized(Int) T, A] { + def bar[B >: A <: C]: T = throw new Exception +} -- cgit v1.2.3