diff options
Diffstat (limited to 'test/files/pos/bug3430.scala')
-rw-r--r-- | test/files/pos/bug3430.scala | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/files/pos/bug3430.scala b/test/files/pos/bug3430.scala new file mode 100644 index 0000000000..3129c6276a --- /dev/null +++ b/test/files/pos/bug3430.scala @@ -0,0 +1,13 @@ +// package com.example + +object A { + def f1(f: String => Boolean) = f("a") + + def f2(): Boolean = + f1 { s1 => + f1 { s2 => + while (true) { } + true + } + } +}
\ No newline at end of file |