rust/src/test/run-fail/fmt-fail.rs
2011-07-03 02:38:11 -07:00

9 lines
132 B
Rust

// xfail-stage0
// error-pattern:meh
use std;
import std::str;
fn main() {
let str str_var = "meh";
fail #fmt("%s", str_var);
}