Sign in
fuchsia
/
third_party
/
rust
/
cfcc5c296ed6fabcc8b9d380eaaea8a7352299fd
/
.
/
src
/
test
/
ui
/
consts
/
const-cross-crate-extern.rs
blob: 3c61afd5becd44cd2931970eee13e5566d5e3e11 [
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
);
}