summaryrefslogtreecommitdiffstats
path: root/src/test/debuginfo/auxiliary/macro-stepping.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/debuginfo/auxiliary/macro-stepping.rs')
-rw-r--r--src/test/debuginfo/auxiliary/macro-stepping.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/debuginfo/auxiliary/macro-stepping.rs b/src/test/debuginfo/auxiliary/macro-stepping.rs
new file mode 100644
index 000000000..4447dd22d
--- /dev/null
+++ b/src/test/debuginfo/auxiliary/macro-stepping.rs
@@ -0,0 +1,10 @@
+// compile-flags:-g
+
+#![crate_type = "rlib"]
+
+#[macro_export]
+macro_rules! new_scope {
+ () => {
+ let x = 1;
+ }
+}