Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
10
tests/codegen/to_vec.rs
Normal file
10
tests/codegen/to_vec.rs
Normal file
|
@ -0,0 +1,10 @@
|
|||
// compile-flags: -O
|
||||
|
||||
#![crate_type = "lib"]
|
||||
|
||||
// CHECK-LABEL: @copy_to_vec
|
||||
#[no_mangle]
|
||||
fn copy_to_vec(s: &[u64]) -> Vec<u64> {
|
||||
s.to_vec()
|
||||
// CHECK: call void @llvm.memcpy
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue