about summary refs log tree commit diff
path: root/tests/ui/meta/no_std-extern-libc.rs
blob: 8b89e14382d148a385cbf5a14de63679c7542a58 (plain)
1
2
3
4
5
6
7
8
// Test that `download-rustc` doesn't put duplicate copies of libc in the sysroot.
//@ check-pass
//@ ignore-windows doesn't necessarily have the libc crate
#![crate_type = "lib"]
#![no_std]
#![feature(rustc_private)]

extern crate libc;