1 // revisions: rpass1 cfail2
2 // compile-flags: -Z query-dep-graph
5 #![feature(rustc_attrs)]
7 // Sanity check for the dirty-clean system. Give the opposite
8 // annotations that we expect to see, so that we check that errors are
28 #[rustc_clean(label="typeck", cfg="cfail2")]
30 //[cfail2]~^ ERROR `typeck(y::y)` should be clean but is not
36 #[rustc_dirty(label="typeck", cfg="cfail2")]
38 //[cfail2]~^ ERROR `typeck(z::z)` should be dirty but is not