blob: 6db1f9a5bddf98c2ef15ea79d55d097fb2bf3791 [file] [log] [blame]
// Check that the visibility modifier is included in the span of foreign items.
extern "C" {
fn foo();
pub //~ ERROR the name `foo` is defined multiple times
fn foo();
pub //~ ERROR the name `foo` is defined multiple times
static mut foo: u32;
}
fn main() {
}