Skip to content

Commit

Permalink
Make it regression test of issue-77668
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor committed Oct 23, 2020
1 parent a9cd294 commit 043fab3
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 043fab3

Please sign in to comment.