]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issues/issue-48508.rs
Rollup merge of #91699 - jsha:webkit-appearance-search-input, r=GuillaumeGomez
[rust.git] / src / test / ui / parser / issues / issue-48508.rs
1 // run-pass
2 // Regression test for issue #48508:
3 //
4 // Confusion between global and local file offsets caused incorrect handling of multibyte character
5 // spans when compiling multiple files. One visible effect was an ICE generating debug information
6 // when a multibyte character is at the end of a scope. The problematic code is actually in
7 // issue-48508-aux.rs
8
9 // compile-flags:-g
10 // ignore-pretty issue #37195
11 // ignore-asmjs wasm2js does not support source maps yet
12
13 #![allow(uncommon_codepoints)]
14
15 #[path = "issue-48508-aux.rs"]
16 mod other_file;
17
18 fn main() {
19     other_file::other();
20 }