Skip to content

Commit

Permalink
Add ICE #67019
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Julian-Wollersberger committed Dec 6, 2019
1 parent ac8be05 commit d63b169
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions ices/67019.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash

mkdir temp
cd temp
cat > temp.rs << EOF
fn test(this: ((u8, u8),)) {
assert!((this.0).1 == 0);
}
fn main() {
test(((1, 2),));
}
EOF

rustc --edition 2018 temp.rs -Z mir-opt-level=2

0 comments on commit d63b169

Please sign in to comment.