dfmt/tests/issue0509.d
Eugen Wissner e6199aaa9b Don't output an extra newline after a comment
with keep_line_breaks=true.

Fixes #509 and #490.
2020-10-10 07:25:27 +02:00

34 lines
380 B
D

void main()
{
string a = "foo"
~ "bar" // bar
~ "baz";
}
void foo()
{
afdsafds
.asdf // blah
.flub;
}
void main()
{
string a = "foo"
~ "bar" /* bar */
~ "baz";
}
void foo()
{
afdsafds
.asdf /* blah */
.flub;
}
void foo() // hello
{ // world
// ok
writeln("hi"); // hi!
} // done
//finish