rust/tests/ui/log-poly.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
201 B
Rust
Raw Normal View History

//@ run-pass
2015-01-28 21:34:18 +08:00
#[derive(Debug)]
enum Numbers {
Three
}
2013-03-28 00:58:28 +08:00
pub fn main() {
2015-01-26 05:05:03 +08:00
println!("{:?}", 1);
println!("{:?}", 2.0f64);
println!("{:?}", Numbers::Three);
println!("{:?}", vec![4]);
}