summaryrefslogtreecommitdiffstats
path: root/tests/ui/regions/issue-72051-member-region-hang.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/regions/issue-72051-member-region-hang.rs')
-rw-r--r--tests/ui/regions/issue-72051-member-region-hang.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/ui/regions/issue-72051-member-region-hang.rs b/tests/ui/regions/issue-72051-member-region-hang.rs
new file mode 100644
index 000000000..b7340b79d
--- /dev/null
+++ b/tests/ui/regions/issue-72051-member-region-hang.rs
@@ -0,0 +1,7 @@
+// Regression test for #72051, hang when resolving regions.
+
+// check-pass
+// edition:2018
+
+pub async fn query<'a>(_: &(), _: &(), _: (&(dyn std::any::Any + 'a),) ) {}
+fn main() {}