test: Add a test for #1696
This commit is contained in:
parent
ae23ee28e2
commit
ffa77dd610
1 changed files with 8 additions and 0 deletions
8
src/test/run-pass/issue-1696.rs
Normal file
8
src/test/run-pass/issue-1696.rs
Normal file
|
@ -0,0 +1,8 @@
|
|||
use std;
|
||||
import std::map;
|
||||
|
||||
fn main() {
|
||||
let m = map::new_bytes_hash();
|
||||
m.insert(str::bytes("foo"), str::bytes("bar"));
|
||||
log(error, m);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue