// option. This file may not be copied, modified, or distributed
// except according to those terms.
-#[feature(macro_rules)];
-
// shouldn't affect evaluation of $ex:
-macro_rules! bad_macro (($ex:expr) => ({let _x = 9; $ex}))
+macro_rules! bad_macro {
+ ($ex:expr) => ({let _x = 9i; $ex})
+}
+
pub fn main() {
- let _x = 8;
- assert_eq!(bad_macro!(_x),8)
+ let _x = 8i;
+ assert_eq!(bad_macro!(_x),8i)
}