tests: Move run-pass tests without naming conflicts to ui
This commit is contained in:
parent
ca9faa52f5
commit
9be35f82c1
3226 changed files with 64 additions and 196 deletions
9
src/test/ui/mir/mir_codegen_array_2.rs
Normal file
9
src/test/ui/mir/mir_codegen_array_2.rs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
// run-pass
|
||||
fn into_inner(x: u64) -> [u64; 1024] {
|
||||
[x; 2*4*8*16]
|
||||
}
|
||||
|
||||
fn main(){
|
||||
let x: &[u64] = &[42; 1024];
|
||||
assert_eq!(&into_inner(42)[..], x);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue