Skip to content

Commit 9430354

Browse files
committed
Add run test for infix operator starting at newline
The behavior is not covered by the tests in #7031
1 parent 38e87b0 commit 9430354

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/run/i7031.scala

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
@main def Test = {
2+
val a = 5
3+
val x = 1
4+
+ //
5+
`a` * 6
6+
7+
assert(x == 1)
8+
}
9+

0 commit comments

Comments
 (0)