Skip to content

Commit

Permalink
Added explicit optimization flag to test
Browse files Browse the repository at this point in the history
  • Loading branch information
dshynkev committed Aug 20, 2018
1 parent 0dd10af commit 79a905e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/codegen/issue-13018.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 79a905e

Please sign in to comment.