Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

Commit d63b169

Browse files
Add ICE #67019
It's a bit hacky because the ICE from rust-lang/rust#67019 needs compiler flags and I don't know of a way to provide that from within a .rs file.
1 parent ac8be05 commit d63b169

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

ices/67019.sh

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/bin/bash
2+
3+
mkdir temp
4+
cd temp
5+
cat > temp.rs << EOF
6+
7+
fn test(this: ((u8, u8),)) {
8+
assert!((this.0).1 == 0);
9+
}
10+
fn main() {
11+
test(((1, 2),));
12+
}
13+
14+
EOF
15+
16+
rustc --edition 2018 temp.rs -Z mir-opt-level=2

0 commit comments

Comments
 (0)