Add a test for #1603

This commit is contained in:
topecongiro 2017-11-15 15:44:27 +09:00
parent 5a91e0f7e3
commit f9f4ef8177
2 changed files with 14 additions and 0 deletions

View File

@ -81,3 +81,10 @@ fn some_fn4()
/* some comment some comment some comment some comment some comment some comment some comment */
{
}
// #1603
pub enum Foo {
A, // `/** **/`
B, // `/*!`
C,
}

View File

@ -86,3 +86,10 @@ fn some_fn4()
// some comment
{
}
// #1603
pub enum Foo {
A, // `/** **/`
B, // `/*!`
C,
}