Skip to content

Commit 79a905e

Browse files
committed
Added explicit optimization flag to test
1 parent 0dd10af commit 79a905e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: src/test/codegen/issue-13018.rs

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// compile-flags: -O
12+
1113
// A drop([...].clone()) sequence on an Rc should be a no-op
1214
// In particular, no call to __rust_dealloc should be emitted
1315
#![crate_type = "lib"]

0 commit comments

Comments
 (0)