Skip to content

Commit ffa77dd

Browse files
committed
test: Add a test for #1696
1 parent ae23ee2 commit ffa77dd

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/test/run-pass/issue-1696.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
use std;
2+
import std::map;
3+
4+
fn main() {
5+
let m = map::new_bytes_hash();
6+
m.insert(str::bytes("foo"), str::bytes("bar"));
7+
log(error, m);
8+
}

0 commit comments

Comments
 (0)