aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/t5198.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/pos/t5198.scala')
-rw-r--r--tests/untried/pos/t5198.scala15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/untried/pos/t5198.scala b/tests/untried/pos/t5198.scala
new file mode 100644
index 000000000..f403f77f7
--- /dev/null
+++ b/tests/untried/pos/t5198.scala
@@ -0,0 +1,15 @@
+package gaga
+
+
+
+
+
+trait Sys[Self <: Sys[Self]] {
+ type Tx
+}
+
+
+sealed trait AssocEntry[S <: Sys[S], @specialized(Int) A] {
+ def value: A
+ def value(implicit tx: S#Tx): A
+}