blob: 06369baf20387b1a9863d320a303349ea40f91dd [file] [log] [blame]
40 columns |
>>> Empty block containing line comment.
{ // comment
}
<<<
{
// comment
}
>>> Empty block containing inline block comment.
{ /* comment */ }
<<<
{/* comment */}
>>> Empty block containing non-inline block comment.
{
/* comment */
}
<<<
{
/* comment */
}
>>> Empty block containing multi-line block comment.
{ /* comment
line */ }
<<<
{
/* comment
line */
}
>>>
{
/* comment
line */
}
<<<
{
/* comment
line */
}
>>> Remove blank lines before and after comments at end of block.
{
// comment
}
<<<
{
// comment
}
>>> Preserve one blank line between line comments and statements.
{
// comment
a;
// comment
b;
// comment
c;
}
<<<
{
// comment
a;
// comment
b;
// comment
c;
}
>>> Comment before labeled statement.
{
/* c */ a: b: c;
}
<<<
{
/* c */
a:
b:
c;
}