diff options
| author | Michael Howell <michael@notriddle.com> | 2023-11-23 14:54:19 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-11-23 14:54:19 -0700 |
| commit | fdde5c77a834c8275c23648ddaca9c18adee07d4 (patch) | |
| tree | ce5fe3b5b462dc47b86af655c5c13e249f6c2aaa /tests/rustdoc-ui/nested-macro-rules-47639.rs | |
| parent | cbe68435c603da438b8994c1a583b46fc01821cf (diff) | |
| download | rust-fdde5c77a834c8275c23648ddaca9c18adee07d4.tar.gz rust-fdde5c77a834c8275c23648ddaca9c18adee07d4.zip | |
rustdoc: move ICE tests to ui
Diffstat (limited to 'tests/rustdoc-ui/nested-macro-rules-47639.rs')
| -rw-r--r-- | tests/rustdoc-ui/nested-macro-rules-47639.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/rustdoc-ui/nested-macro-rules-47639.rs b/tests/rustdoc-ui/nested-macro-rules-47639.rs new file mode 100644 index 00000000000..210b1e79cd2 --- /dev/null +++ b/tests/rustdoc-ui/nested-macro-rules-47639.rs @@ -0,0 +1,9 @@ +// check-pass +// This should not ICE + +// https://github.com/rust-lang/rust/issues/47639 +pub fn test() { + macro_rules! foo { + () => () + } +} |
