summaryrefslogtreecommitdiffstats
path: root/src/test/ui/rustc-rust-log.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/rustc-rust-log.rs')
-rw-r--r--src/test/ui/rustc-rust-log.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/ui/rustc-rust-log.rs b/src/test/ui/rustc-rust-log.rs
new file mode 100644
index 000000000..52e7dcf44
--- /dev/null
+++ b/src/test/ui/rustc-rust-log.rs
@@ -0,0 +1,11 @@
+// run-pass
+// This test is just checking that we won't ICE if logging is turned
+// on; don't bother trying to compare that (copious) output.
+//
+// dont-check-compiler-stdout
+// dont-check-compiler-stderr
+// compile-flags: --error-format human
+// aux-build: rustc-rust-log-aux.rs
+// rustc-env:RUSTC_LOG=debug
+
+fn main() {}