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