diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2018-03-26 22:04:27 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2018-04-14 17:25:35 +0200 |
| commit | 5d52ef5091b8e993477fff36efd4cc6f2df33491 (patch) | |
| tree | ad01daa58e23d1731011348e960bfb8a78bc94a0 /src/test/compile-fail | |
| parent | 44c686113fe93bb67ac2dcb1db500b5b8cbf0b6a (diff) | |
| download | rust-5d52ef5091b8e993477fff36efd4cc6f2df33491.tar.gz rust-5d52ef5091b8e993477fff36efd4cc6f2df33491.zip | |
Add tests and longer error explanation
Diffstat (limited to 'src/test/compile-fail')
| -rw-r--r-- | src/test/compile-fail/issue-21045.rs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/test/compile-fail/issue-21045.rs b/src/test/compile-fail/issue-21045.rs deleted file mode 100644 index 134240f8c8a..00000000000 --- a/src/test/compile-fail/issue-21045.rs +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright 2014 The Rust Project Developers. See the COPYRIGHT -// file at the top-level directory of this distribution and at -// http://rust-lang.org/COPYRIGHT. -// -// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or -// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license -// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. -#![feature(asm)] - -fn main() { - let a; - asm!("nop" "nop"); //~ ERROR malformed inline assembly - asm!("nop" "nop" : "=r"(a)); //~ ERROR malformed inline assembly -} |
