summary refs log tree commit diff
path: root/src/test/run-pass/str-concat.rs
blob: 69d26469677c22709db24119cdec61bc7d103a24 (plain)
1
2
3
4
5
6
7
8
9
10
11



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