about summary refs log tree commit diff
path: root/src/test/compile-fail/macro-expanded-include/test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/macro-expanded-include/test.rs')
-rw-r--r--src/test/compile-fail/macro-expanded-include/test.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/compile-fail/macro-expanded-include/test.rs b/src/test/compile-fail/macro-expanded-include/test.rs
index 7ab9dd19b1b..e1e85ddb2c1 100644
--- a/src/test/compile-fail/macro-expanded-include/test.rs
+++ b/src/test/compile-fail/macro-expanded-include/test.rs
@@ -8,12 +8,14 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#![feature(rustc_attrs)]
+#![feature(asm, rustc_attrs)]
+#![allow(unused)]
 
 #[macro_use]
 mod foo;
 
 m!();
+fn f() { n!(); }
 
 #[rustc_error]
 fn main() {} //~ ERROR compilation successful