Activate checking code for ASM feature gate. Fix tests

This commit is contained in:
Léo Testard 2013-10-22 01:18:57 +02:00
parent ece5028a8b
commit c4bcf7714b
9 changed files with 21 additions and 8 deletions

View file

@ -8,8 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// xfail-test
fn main() {
unsafe {
asm!(""); //~ ERROR inline assembly is not stable enough

View file

@ -8,6 +8,9 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// xfail-fast #[feature] doesn't work with check-fast
#[feature(asm)];
fn foo(x: int) { info2!("{}", x); }
#[cfg(target_arch = "x86")]

View file

@ -8,6 +8,9 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// xfail-fast #[feature] doesn't work with check-fast
#[feature(asm)];
fn foo(x: int) { info2!("{}", x); }
#[cfg(target_arch = "x86")]

View file

@ -8,6 +8,9 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// xfail-fast #[feature] doesn't work with check-fast
#[feature(asm)];
fn foo(x: int) { info2!("{}", x); }
#[cfg(target_arch = "x86")]

View file

@ -8,6 +8,9 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// xfail-fast #[feature] doesn't work with check-fast
#[feature(asm)];
fn foo(x: int) { info2!("{}", x); }
#[cfg(target_arch = "x86")]

View file

@ -8,8 +8,11 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// xfail-fast #[feature] doesn't work with check-fast
// pp-exact
#[feature(asm)];
#[cfg = r#"just parse this"#]
extern mod blah = r##"blah"##;

View file

@ -8,6 +8,9 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// xfail-fast #[feature] doesn't work with check-fast
#[feature(asm)];
#[cfg(target_arch = "x86")]
#[cfg(target_arch = "x86_64")]
pub fn main() {