]> git.proxmox.com Git - rustc.git/blobdiff - tests/ui/unpretty/mir-unpretty.rs
Update upstream source from tag 'upstream/1.70.0+dfsg1'
[rustc.git] / tests / ui / unpretty / mir-unpretty.rs
diff --git a/tests/ui/unpretty/mir-unpretty.rs b/tests/ui/unpretty/mir-unpretty.rs
new file mode 100644 (file)
index 0000000..30620c6
--- /dev/null
@@ -0,0 +1,5 @@
+// compile-flags: -Z unpretty=mir
+
+fn main() {
+    let x: () = 0; //~ ERROR: mismatched types
+}