Sign in
android
/
platform
/
external
/
rust
/
crates
/
cfg-if
/
82f61a1b798e39f40b7790738453205be5d3c207
/
.
/
tests
/
xcrate.rs
blob: e7b4a362adf91e7bc6faa8887ba4474637fc4e8f [
file
] [
log
] [
blame
]
cfg_if
::
cfg_if
!
{
if
#[
cfg
(
foo
)]
{
fn
works
()
->
bool
{
false
}
}
else
if
#[
cfg
(
test
)]
{
fn
works
()
->
bool
{
true
}
}
else
{
fn
works
()
->
bool
{
false
}
}
}
#[
test
]
fn
smoke
()
{
assert
!(
works
());
}