diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/files/run/t4766.check | 1 | ||||
-rw-r--r-- | test/files/run/t4766.scala | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/test/files/run/t4766.check b/test/files/run/t4766.check new file mode 100644 index 0000000000..d00491fd7e --- /dev/null +++ b/test/files/run/t4766.check @@ -0,0 +1 @@ +1 diff --git a/test/files/run/t4766.scala b/test/files/run/t4766.scala new file mode 100644 index 0000000000..c2a864ddb2 --- /dev/null +++ b/test/files/run/t4766.scala @@ -0,0 +1,7 @@ +object Test extends App { + val x = new { + def > = 1 + } + + println(x>) +} |