12 lines
165 B
Rust
12 lines
165 B
Rust
|
|
|
|
|
|
// -*- 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);
|
|
}
|