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

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