Skip to content

Commit 6043a32

Browse files
saethlinscottmcm
andauthored
Update tests/codegen/clone-shims.rs
Co-authored-by: scottmcm <scottmcm@users.noreply.github.com>
1 parent 2ea75e2 commit 6043a32

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/codegen/clone-shims.rs

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
pub type Test = (i32, i32, *const i32);
99
pub static TEST: fn(&Test) -> Test = <Test as core::clone::Clone>::clone;
1010

11+
// CHECK-NOT: call <i32 as core::clone::Clone>::clone
12+
// CHECK-NOT: call <*const i32 as core::clone::Clone>::clone
1113
// CHECK: ; <(i32, i32, *const i32) as core::clone::Clone>::clone
1214
// CHECK-NOT: call <i32 as core::clone::Clone>::clone
1315
// CHECK-NOT: call <*const i32 as core::clone::Clone>::clone

0 commit comments

Comments
 (0)