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

11 lines
149 B
Rust

// -*- rust -*-
fn main() {
let str a = "hello";
let str b = "world";
let str s = a + b;
log s;
assert (s.(9) == 'd' as u8);
}