rust/src/test/run-pass/issue-511.rs