summaryrefslogtreecommitdiffstats
path: root/tests/ui/meta/no_std-extern-libc.rs
blob: 763ea740a2740a983020f730751ab8640d77c413 (plain)
1
2
3
4
5
6
7
// Test that `download-rustc` doesn't put duplicate copies of libc in the sysroot.
// check-pass
#![crate_type = "lib"]
#![no_std]
#![feature(rustc_private)]

extern crate libc;