| // revisions:cfail1 cfail2 cfail3 |
| // compile-flags: -Z query-dep-graph --test |
| // build-pass (FIXME(62277): could be check-pass?) |
| #![rustc_partition_codegened(module="issue_49595-tests", cfg="cfail2")] |
| #![rustc_partition_codegened(module="issue_49595-lit_test", cfg="cfail3")] |
| #[cfg_attr(not(cfail1), test)] |
| // Checks that changing a string literal without changing its span |
| // replacing a module to have a stable span |
| #[cfg_attr(not(cfail3), path = "auxiliary/lit_a.rs")] |
| #[cfg_attr(cfail3, path = "auxiliary/lit_b.rs")] |
| println!("{}", ::lit::A); |