Skip to content

Commit

Permalink
add test for rust-lang#90192
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiaskrgr committed Mar 22, 2024
1 parent 1447f9d commit 211ac0c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/ui/polymorphization/issue-74614.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
//@ compile-flags:-Zpolymorphize=on
//@ revisions: mir-opt no-opt
//@ [no-opt]compile-flags:-Zpolymorphize=on
// used to ICE, see #90192:
//@ [mir-opt]compile-flags:-Zpolymorphize=on -Zmir-opt-level=3
//@ build-pass

fn test<T>() {
Expand Down

0 comments on commit 211ac0c

Please sign in to comment.