]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/const_prop/issue-67019.rs
rustc_codegen_llvm: Give each codegen unit a unique DWARF name on all
[rust.git] / src / test / mir-opt / const_prop / issue-67019.rs
1 // compile-flags: -Z mir-opt-level=3
2
3 // This used to ICE in const-prop
4
5 fn test(this: ((u8, u8),)) {
6     assert!((this.0).0 == 1);
7 }
8
9 // EMIT_MIR issue_67019.main.ConstProp.diff
10 fn main() {
11     test(((1, 2),));
12 }