Skip to content

Instantly share code, notes, and snippets.

@davidtwco
Created July 21, 2022 13:20
Show Gist options
  • Save davidtwco/6f0e2d4e15f2e0d61a8355bf14688bd8 to your computer and use it in GitHub Desktop.
Save davidtwco/6f0e2d4e15f2e0d61a8355bf14688bd8 to your computer and use it in GitHub Desktop.
diff --git a/src/test/debuginfo/regression-macro-first-line.rs b/src/test/debuginfo/regression-macro-first-line.rs
index d79950c165b..8886e163ccc 100644
--- a/src/test/debuginfo/regression-macro-first-line.rs
+++ b/src/test/debuginfo/regression-macro-first-line.rs
@@ -38,7 +38,9 @@ macro_rules! inner {
}
fn main() {
+ let ret = 3;
outer!({
three();
});
+ std::process::exit(ret);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment