]>
Commit | Line | Data |
---|---|---|
136023e0 XL |
1 | // Regression test for #83921. A `delay_span_bug()` call was issued, but the |
2 | // error was never reported because the pass responsible for detecting and | |
3 | // reporting the error does not run in certain modes of pretty-printing. | |
4 | ||
5 | // Make sure the error is reported if we do not just pretty-print: | |
6 | // revisions: pretty normal | |
7 | // [pretty]compile-flags: -Zunpretty=everybody_loops | |
8 | // [pretty]check-pass | |
9 | ||
10 | #[repr("C")] | |
11 | //[normal]~^ ERROR: meta item in `repr` must be an identifier [E0565] | |
12 | struct A {} | |
13 | ||
14 | fn main() {} |