test vec of enums

This commit is contained in:
Ty Overby 2014-09-17 02:45:24 -07:00
parent f7952f8cdb
commit b1a067e151
1 changed files with 1 additions and 0 deletions

View File

@ -136,6 +136,7 @@ fn struct_enum() {
the_same(OneArg(4));
the_same(AnotherNoArg);
the_same(StructLike{x: 4, y: 3.14159});
the_same(vec![NoArg, OneArg(5), AnotherNoArg, StructLike{x: 4, y:1.4}]);
}
#[test]