about summary refs log tree commit diff
path: root/src/test/codegen/enum-debug-niche.rs
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2019-03-22 17:08:06 -0500
committerSamuel Holland <samuel@sholland.org>2019-03-22 21:28:25 -0500
commit8d3dd39d885f427faf3898521e7e1e9319d76b91 (patch)
tree97a02db95cdd490e80504ff04a6f6cae87684428 /src/test/codegen/enum-debug-niche.rs
parent52e885628e4317aa3f158622435927eb29b812e9 (diff)
downloadrust-8d3dd39d885f427faf3898521e7e1e9319d76b91.tar.gz
rust-8d3dd39d885f427faf3898521e7e1e9319d76b91.zip
Correct minimum system LLVM version in tests
Since commit 9452a8dfa3ba, the new debug info format is only generated
for LLVM 8 and newer versions. However, the tests still assume that LLVM
7 will use the new debug info format. Fix the tests (and a comment in
the code) to match the actual version check.
Diffstat (limited to 'src/test/codegen/enum-debug-niche.rs')
-rw-r--r--src/test/codegen/enum-debug-niche.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/codegen/enum-debug-niche.rs b/src/test/codegen/enum-debug-niche.rs
index 1273a785ba4..93eebde7b8f 100644
--- a/src/test/codegen/enum-debug-niche.rs
+++ b/src/test/codegen/enum-debug-niche.rs
@@ -4,7 +4,7 @@
 
 // ignore-tidy-linelength
 // ignore-windows
-// min-system-llvm-version 7.0
+// min-system-llvm-version 8.0
 
 // compile-flags: -g -C no-prepopulate-passes