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