test: Add a trivial test that trait composition parses

This commit is contained in:
Patrick Walton 2012-08-03 15:03:19 -07:00
parent b65dd9d090
commit 5012abde8f

View File

@ -0,0 +1,11 @@
trait Foo {
fn foo();
}
trait Bar : Foo {
fn bar();
}
fn main() {}