Make it regression test of issue-77668

This commit is contained in:
Yuki Okushi 2020-10-23 16:11:46 +09:00
parent a9cd294cf2
commit 043fab3fd5

View File

@ -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