summaryrefslogtreecommitdiffstats
path: root/tests/ui/resolve/auxiliary/extern-prelude.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/resolve/auxiliary/extern-prelude.rs')
-rw-r--r--tests/ui/resolve/auxiliary/extern-prelude.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ui/resolve/auxiliary/extern-prelude.rs b/tests/ui/resolve/auxiliary/extern-prelude.rs
new file mode 100644
index 000000000..2fdfd85a1
--- /dev/null
+++ b/tests/ui/resolve/auxiliary/extern-prelude.rs
@@ -0,0 +1,5 @@
+pub struct S;
+
+impl S {
+ pub fn external(&self) {}
+}