summaryrefslogtreecommitdiffstats
path: root/tests/ui/resolve/issue-108529.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/resolve/issue-108529.rs')
-rw-r--r--tests/ui/resolve/issue-108529.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/resolve/issue-108529.rs b/tests/ui/resolve/issue-108529.rs
new file mode 100644
index 000000000..8e3aafab6
--- /dev/null
+++ b/tests/ui/resolve/issue-108529.rs
@@ -0,0 +1,8 @@
+#![allow(nonstandard_style)]
+use f::f::f; //~ ERROR
+
+trait f {
+ extern "C" fn f();
+}
+
+fn main() {}