Skip to content

Commit 5012abd

Browse files
committed
test: Add a trivial test that trait composition parses
1 parent b65dd9d commit 5012abd

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
trait Foo {
2+
fn foo();
3+
}
4+
5+
trait Bar : Foo {
6+
fn bar();
7+
}
8+
9+
fn main() {}
10+
11+

0 commit comments

Comments
 (0)