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() { }