diff options
Diffstat (limited to 'tests/pos/t0093.scala')
-rw-r--r-- | tests/pos/t0093.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/pos/t0093.scala b/tests/pos/t0093.scala new file mode 100644 index 000000000..d648d773b --- /dev/null +++ b/tests/pos/t0093.scala @@ -0,0 +1,4 @@ +object Bug { + def f(cond: => Boolean) = while (cond == false) {}; + // no bug with "false == cond" +} |