rust/src/test/run-fail/fmt-fail.rs

9 lines
132 B
Rust
Raw Normal View History

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