aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorodersky <odersky@gmail.com>2016-12-18 16:06:02 +0100
committerGitHub <noreply@github.com>2016-12-18 16:06:02 +0100
commit46bef7170fb48c0e48d0c5b38fcec29db64f7b13 (patch)
treef49198e7b34c93d63a235384be31e3458f95c002 /tests
parent7866bc2620098a7a692b68ac9c37e6d8a05ec774 (diff)
parent2423ada8b32854f13e16bb62cf1f0a07cff6df7a (diff)
downloaddotty-46bef7170fb48c0e48d0c5b38fcec29db64f7b13.tar.gz
dotty-46bef7170fb48c0e48d0c5b38fcec29db64f7b13.tar.bz2
dotty-46bef7170fb48c0e48d0c5b38fcec29db64f7b13.zip
Merge pull request #1822 from dotty-staging/fix-#1792
Fix #1792: Allow newline in front of `{` for procedure syntax
Diffstat (limited to 'tests')
-rw-r--r--tests/pos-scala2/i1792.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/pos-scala2/i1792.scala b/tests/pos-scala2/i1792.scala
new file mode 100644
index 000000000..49b3e6a34
--- /dev/null
+++ b/tests/pos-scala2/i1792.scala
@@ -0,0 +1,8 @@
+object Test {
+
+def foo(x: Int)
+{
+ x
+}
+
+}