summaryrefslogtreecommitdiffstats
path: root/src/test/ui/log-poly.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/log-poly.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/ui/log-poly.rs b/src/test/ui/log-poly.rs
new file mode 100644
index 000000000..14e1b40e1
--- /dev/null
+++ b/src/test/ui/log-poly.rs
@@ -0,0 +1,13 @@
+// run-pass
+
+#[derive(Debug)]
+enum Numbers {
+ Three
+}
+
+pub fn main() {
+ println!("{:?}", 1);
+ println!("{:?}", 2.0f64);
+ println!("{:?}", Numbers::Three);
+ println!("{:?}", vec![4]);
+}