From 1d1570acc9ac9d76394da05f63fa7881b6492ab9 Mon Sep 17 00:00:00 2001 From: Johannes Oertel Date: Mon, 11 May 2015 22:51:31 +0200 Subject: [PATCH] Add regression test for #18075 Closes #18075. --- src/test/run-pass/issue-18075.rs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/test/run-pass/issue-18075.rs diff --git a/src/test/run-pass/issue-18075.rs b/src/test/run-pass/issue-18075.rs new file mode 100644 index 00000000000..5f07ba2235f --- /dev/null +++ b/src/test/run-pass/issue-18075.rs @@ -0,0 +1,16 @@ +// Copyright 2015 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + +// exec-env:RUST_LOG=rustc::middle=debug + +fn main() { + let b = 1isize; + println!("{}", b); +}