Introduce a testcase for conditional compilation via attributes

Issue #489
This commit is contained in:
Brian Anderson 2011-06-29 17:38:40 -07:00
parent 78a82b9fd1
commit cbcc7bba30

View file

@ -0,0 +1,10 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
// Since the bogus configuration isn't defined main will just be
// parsed, but nothing further will be done with it
#[cfg(bogus)]
fn main() { fail }
fn main() {}