diff options
Diffstat (limited to 'src/test/rustdoc/macro-in-async-block.rs')
-rw-r--r-- | src/test/rustdoc/macro-in-async-block.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/rustdoc/macro-in-async-block.rs b/src/test/rustdoc/macro-in-async-block.rs new file mode 100644 index 000000000..b4aaacf7b --- /dev/null +++ b/src/test/rustdoc/macro-in-async-block.rs @@ -0,0 +1,9 @@ +// Regression issue for rustdoc ICE encountered in PR #72088. +// edition:2018 +#![feature(decl_macro)] + +fn main() { + async { + macro m() {} + }; +} |