summaryrefslogtreecommitdiffstats
path: root/src/test/ui/macro_backtrace/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/macro_backtrace/main.rs')
-rw-r--r--src/test/ui/macro_backtrace/main.rs23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/test/ui/macro_backtrace/main.rs b/src/test/ui/macro_backtrace/main.rs
deleted file mode 100644
index 6cee3b4cd..000000000
--- a/src/test/ui/macro_backtrace/main.rs
+++ /dev/null
@@ -1,23 +0,0 @@
-// Test that the macro backtrace facility works
-// aux-build:ping.rs
-// revisions: default -Zmacro-backtrace
-//[-Zmacro-backtrace] compile-flags: -Z macro-backtrace
-
-#[macro_use] extern crate ping;
-
-// a local macro
-macro_rules! pong {
- () => { syntax error };
-}
-//~^^ ERROR expected one of
-//~| ERROR expected one of
-//~| ERROR expected one of
-
-#[allow(non_camel_case_types)]
-struct syntax;
-
-fn main() {
- pong!();
- ping!();
- deep!();
-}