2024-02-16 20:02:50 +00:00
|
|
|
//@ run-pass
|
2019-07-27 00:54:25 +03:00
|
|
|
|
2019-03-27 16:08:47 +09:00
|
|
|
#![allow(dead_code, unused_imports)]
|
|
|
|
#![feature(no_core)]
|
|
|
|
#![no_core]
|
2024-02-16 20:02:50 +00:00
|
|
|
//@ edition:2018
|
2019-03-27 16:08:47 +09:00
|
|
|
|
|
|
|
extern crate std;
|
|
|
|
extern crate core;
|
|
|
|
use core::{prelude::v1::*, *};
|
|
|
|
|
|
|
|
fn foo() {
|
|
|
|
for _ in &[()] {}
|
|
|
|
}
|
|
|
|
|
|
|
|
fn bar() -> Option<()> {
|
|
|
|
None?
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|