]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/issue-9129.rs
rollup merge of #20482: kmcallister/macro-reform
[rust.git] / src / test / run-pass / issue-9129.rs
index 3ca060f45a5f50f031d9bedfa194b4644c2909e1..5d5240272e542df6e08ada88770da3f653922ffd 100644 (file)
@@ -10,8 +10,6 @@
 
 // ignore-pretty
 
-#![feature(macro_rules)]
-
 
 pub trait bomb { fn boom(&self, Ident); }
 pub struct S;
@@ -19,8 +17,8 @@ impl bomb for S { fn boom(&self, _: Ident) { } }
 
 pub struct Ident { name: uint }
 
-// macro_rules! int3( () => ( unsafe { asm!( "int3" ); } ) )
-macro_rules! int3( () => ( { } ) );
+// macro_rules! int3 { () => ( unsafe { asm!( "int3" ); } ) }
+macro_rules! int3 { () => ( { } ) }
 
 fn Ident_new() -> Ident {
     int3!();