mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
11 lines
227 B
Plaintext
11 lines
227 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");
|