summaryrefslogtreecommitdiffstats
path: root/src/test/ui/path.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/path.rs')
-rw-r--r--src/test/ui/path.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/ui/path.rs b/src/test/ui/path.rs
new file mode 100644
index 000000000..4c137de82
--- /dev/null
+++ b/src/test/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); }