aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/str-append.rs
blob: 1bd052155d5e63c8e5e54d1d4fa2539eaa41a107 (plain) (blame)
1
2
3
4
5
6
7
8
// -*- rust -*-

fn main() {
  let str s = "hello";
  s += "world";
  log s;
  check(s.(9) == ('d' as u8));
}