summaryrefslogtreecommitdiffstats
path: root/tests/ui/path.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/path.rs')
-rw-r--r--tests/ui/path.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/path.rs b/tests/ui/path.rs
new file mode 100644
index 000000000..4c137de82
--- /dev/null
+++ b/tests/ui/path.rs
@@ -0,0 +1,8 @@
+// run-pass
+// pretty-expanded FIXME #23616
+
+mod foo {
+ pub fn bar(_offset: usize) { }
+}
+
+pub fn main() { foo::bar(0); }