Sign in
fuchsia
/
third_party
/
rust
/
12307b3b08edee543a78fb9d4a837fbd6d6ac0fa
/
.
/
src
/
test
/
ui
/
conditional-compilation
/
cfg-attr-cfg-2.rs
blob: 898c5bac85077f0012fa65a3179e6f2f97242dc8 [
file
] [
log
] [
blame
]
//
// error-pattern: `main` function not found
// compile-flags: --cfg foo
// main is conditionally compiled, but the conditional compilation
// is conditional too!
#[
cfg_attr
(
foo
,
cfg
(
bar
))]
fn
main
()
{
}