aboutsummaryrefslogtreecommitdiff
path: root/tests/pos-special/spec-t5545/S_1.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pos-special/spec-t5545/S_1.scala')
-rw-r--r--tests/pos-special/spec-t5545/S_1.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/pos-special/spec-t5545/S_1.scala b/tests/pos-special/spec-t5545/S_1.scala
new file mode 100644
index 000000000..59ec1fd85
--- /dev/null
+++ b/tests/pos-special/spec-t5545/S_1.scala
@@ -0,0 +1,4 @@
+trait F[@specialized(Int) T1, R] {
+ def f(v1: T1): R
+ def g = v1 => f(v1)
+}