mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
11 lines
224 B
Plaintext
11 lines
224 B
Plaintext
#![feature(prelude_import)]
|
|
#![no_std]
|
|
#[prelude_import]
|
|
use ::std::prelude::rust_2015::*;
|
|
#[macro_use]
|
|
extern crate std;
|
|
// needs-asm-support
|
|
// check-pass
|
|
// compile-flags: -Zunpretty=expanded
|
|
global_asm! ("x: .byte 42");
|