diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/repl/def.check | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/repl/def.check b/tests/repl/def.check new file mode 100644 index 000000000..498ecb282 --- /dev/null +++ b/tests/repl/def.check @@ -0,0 +1,9 @@ +scala> def foo = 5 +def foo: Int +scala> def bar: String = "1" +def bar: String +scala> def baz() = 2 +def baz(): Int +scala> def qux(): Int = 2 +def qux(): Int +scala> :quit |