summaryrefslogtreecommitdiffstats
path: root/tests/ui/privacy/issue-92755.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/privacy/issue-92755.rs')
-rw-r--r--tests/ui/privacy/issue-92755.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui/privacy/issue-92755.rs b/tests/ui/privacy/issue-92755.rs
new file mode 100644
index 000000000..49559152b
--- /dev/null
+++ b/tests/ui/privacy/issue-92755.rs
@@ -0,0 +1,10 @@
+// aux-build:issue-92755.rs
+// build-pass
+
+// Thank you @tmiasko for providing the content of this test!
+
+extern crate issue_92755;
+
+fn main() {
+ issue_92755::ctx().a.b.f();
+}