Disable MIR optimization for alignment codegen tests

NRVO optimizes away the locals whose alignment is tested. I don't think
this affects the purpose of the test.
This commit is contained in:
Dylan MacKenzie 2020-05-16 13:42:41 -07:00
parent b19d5c0592
commit 8c710118f6
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
// compile-flags: -C no-prepopulate-passes
// compile-flags: -C no-prepopulate-passes -Z mir-opt-level=0
// ignore-tidy-linelength
#![crate_type = "lib"]

View File

@ -1,4 +1,4 @@
// compile-flags: -C no-prepopulate-passes
// compile-flags: -C no-prepopulate-passes -Z mir-opt-level=0
// ignore-tidy-linelength
#![crate_type = "lib"]