Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
5f62a35bae82dd0c5ff9dedd83fe2cfd74b67792
/
.
/
tests
/
ui
/
cross-crate
/
const-cross-crate-extern.rs
blob: 8d48a6a520606003c4a79f31ea580db0b47a2b54 [
file
] [
log
] [
blame
]
//@ run-pass
//@ aux-build:cci_const.rs
#![
allow
(
non_upper_case_globals
)]
extern
crate cci_const
;
use
cci_const
::
bar
;
static
foo
:
extern
"C"
fn
()
=
bar
;
pub
fn
main
()
{
assert
!(
foo
==
bar
);
}