Skip to content

Commit

Permalink
Rollup merge of #78263 - JohnTitor:mir-opt-ice-test, r=lcnr
Browse files Browse the repository at this point in the history
Add regression test of issue-77668

Closes #77668
  • Loading branch information
JohnTitor committed Oct 23, 2020
2 parents 7ba519e + 043fab3 commit 6884632
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// revisions: default miropt
//[miropt]compile-flags: -Z mir-opt-level=2
// ~^ This flag is for #77668, it used to be ICE.

#![crate_type = "lib"]

pub fn bar<P>( // Error won't happen if "bar" is not generic
Expand Down

0 comments on commit 6884632

Please sign in to comment.