aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/syntax-extension-fmt.rs
blob: 0d1d708297f2017d6c7cb48dc14a5f35315fd51d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//use std;
//import std._str;

fn test(str actual, str expected) {
  log actual;
  log expected;
  //check (_str.eq(actual, expected));
}

fn main() {
  /*test(#fmt("hello %d friends and %s things", 10, "formatted"),
    "hello 10 friends and formatted things");*/
  log #fmt("test");
}