2 // aux-build:crate_with_invalid_spans.rs
4 // pretty-expanded FIXME #23616
6 extern crate crate_with_invalid_spans;
9 // The AST of `exported_generic` stored in crate_with_invalid_spans's
10 // metadata should contain an invalid span where span.lo() > span.hi().
11 // Let's make sure the compiler doesn't crash when encountering this.
12 let _ = crate_with_invalid_spans::exported_generic(32u32, 7u32);