Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
14
tests/ui/for-loop-while/for-loop-no-std.rs
Normal file
14
tests/ui/for-loop-while/for-loop-no-std.rs
Normal file
|
@ -0,0 +1,14 @@
|
|||
// run-pass
|
||||
#![allow(unused_imports)]
|
||||
#![feature(lang_items, start)]
|
||||
#![no_std]
|
||||
|
||||
extern crate std as other;
|
||||
|
||||
#[macro_use] extern crate alloc;
|
||||
|
||||
#[start]
|
||||
fn start(_argc: isize, _argv: *const *const u8) -> isize {
|
||||
for _ in [1,2,3].iter() { }
|
||||
0
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue