summaryrefslogtreecommitdiffstats
path: root/tests/ui/imports/issue-37887.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/imports/issue-37887.rs')
-rw-r--r--tests/ui/imports/issue-37887.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ui/imports/issue-37887.rs b/tests/ui/imports/issue-37887.rs
new file mode 100644
index 000000000..58f0c6b65
--- /dev/null
+++ b/tests/ui/imports/issue-37887.rs
@@ -0,0 +1,4 @@
+fn main() {
+ extern crate libc; //~ ERROR use of unstable
+ use libc::*; //~ ERROR unresolved import
+}