summaryrefslogtreecommitdiff
path: root/test/pending/run/t4511.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/pending/run/t4511.scala')
-rw-r--r--test/pending/run/t4511.scala10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/pending/run/t4511.scala b/test/pending/run/t4511.scala
new file mode 100644
index 0000000000..58d4e0c7b0
--- /dev/null
+++ b/test/pending/run/t4511.scala
@@ -0,0 +1,10 @@
+class Interval[@specialized T](val high: T)
+class Node[@specialized T](val interval: Interval[T]) {
+ val x1 = Some(interval.high)
+}
+
+object Test {
+ def main(args: Array[String]): Unit = {
+ new Node(new Interval(5)).x1
+ }
+} \ No newline at end of file