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 
main()18 fn main() {
19     other_file::other();
20 }
21