diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-03-06 09:24:46 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-03-06 09:28:49 +0000 |
| commit | 8c0cbd87671c283707cbaf4f60db36a5184d8cef (patch) | |
| tree | 386e61eec1d048953323b3dfd4dcd0b5c660e1a4 /tests | |
| parent | 0fbfc3e76916521b509b63286296dd0762170d34 (diff) | |
| download | rust-8c0cbd87671c283707cbaf4f60db36a5184d8cef.tar.gz rust-8c0cbd87671c283707cbaf4f60db36a5184d8cef.zip | |
Do not ICE when failing to normalize in ConstProp.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ui/associated-types/issue-67684.rs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/ui/associated-types/issue-67684.rs b/tests/ui/associated-types/issue-67684.rs index 49efe8a1bda..c6920cf8d40 100644 --- a/tests/ui/associated-types/issue-67684.rs +++ b/tests/ui/associated-types/issue-67684.rs @@ -1,4 +1,10 @@ -// check-pass +// revisions: check build +// [check]check-pass +// +// This second configuration aims to verify that we do not ICE in ConstProp because of +// normalization failure. +// [build]build-pass +// [build]compile-flags: -Zmir-opt-level=3 --emit=mir #![allow(dead_code)] |
