Added explicit optimization flag to test

This commit is contained in:
Dmytro Shynkevych 2018-08-20 11:13:45 -04:00
parent 0dd10af5ad
commit 79a905ef30

View File

@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// compile-flags: -O
// A drop([...].clone()) sequence on an Rc should be a no-op
// In particular, no call to __rust_dealloc should be emitted
#![crate_type = "lib"]