Add xfail'd test for #6762.
auto merge of #6770 : lkuper/rust/6762, r=catamorphism