diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-10-08 12:08:09 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-10-08 12:09:06 +0000 |
| commit | 005ec2e51ce99c6dd5e88c273b3f9b273fdf3f41 (patch) | |
| tree | 028eb17865de884e4c388411110bbcfc465cf7c5 /tests | |
| parent | ab039f79b8a0cfea01fb8aa10860560b9689e4c6 (diff) | |
| download | rust-005ec2e51ce99c6dd5e88c273b3f9b273fdf3f41.tar.gz rust-005ec2e51ce99c6dd5e88c273b3f9b273fdf3f41.zip | |
Do not run optimizations on trivial MIR.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ui/consts/issue-67696-const-prop-ice.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/consts/issue-67696-const-prop-ice.rs b/tests/ui/consts/issue-67696-const-prop-ice.rs index ad52608b3f4..858035190ca 100644 --- a/tests/ui/consts/issue-67696-const-prop-ice.rs +++ b/tests/ui/consts/issue-67696-const-prop-ice.rs @@ -1,5 +1,5 @@ // check-pass -// compile-flags: --emit=mir,link +// compile-flags: --emit=mir,link -Zmir-opt-level=4 // Checks that we don't ICE due to attempting to run const prop // on a function with unsatisifable 'where' clauses |
