rust/src/test/run-pass/str-append.rs

9 lines
106 B
Rust
Raw Normal View History

2010-06-23 23:03:09 -05:00
// -*- rust -*-
fn main() {
let str s = "hello";
s += "world";
log s;
check(s.(9) == u8('d'));
}