Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
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
()
{
}