Skip to content

Commit 211ac0c

Browse files
committed
add test for #90192
Fixes #90192
1 parent 1447f9d commit 211ac0c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/ui/polymorphization/issue-74614.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
//@ compile-flags:-Zpolymorphize=on
1+
//@ revisions: mir-opt no-opt
2+
//@ [no-opt]compile-flags:-Zpolymorphize=on
3+
// used to ICE, see #90192:
4+
//@ [mir-opt]compile-flags:-Zpolymorphize=on -Zmir-opt-level=3
25
//@ build-pass
36

47
fn test<T>() {

0 commit comments

Comments
 (0)