Add a test for #2055

This commit is contained in:
Seiichi Uchida 2017-11-10 21:20:54 +09:00
parent 560f66cfe3
commit 38a5350dcd
2 changed files with 16 additions and 0 deletions

View File

@ -57,3 +57,11 @@ trait X /* comment */ {}
trait Y // comment
{
}
// #2055
pub trait Foo:
// A and C
A + C
// and B
+ B
{}

View File

@ -84,3 +84,11 @@ trait X /* comment */ {}
trait Y // comment
{
}
// #2055
pub trait Foo:
// A and C
A + C
// and B
+ B
{}