aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/i2188.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pos/i2188.scala')
-rw-r--r--tests/pos/i2188.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/pos/i2188.scala b/tests/pos/i2188.scala
new file mode 100644
index 000000000..4129977ac
--- /dev/null
+++ b/tests/pos/i2188.scala
@@ -0,0 +1,5 @@
+class Fill(elem: => Int) {
+ class Iter {
+ def next(): Int = elem
+ }
+}