]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | // run-pass |
0531ce1d XL |
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 | |
e74abb32 | 11 | // ignore-asmjs wasm2js does not support source maps yet |
0531ce1d XL |
12 | |
13 | #![feature(non_ascii_idents)] | |
f035d41b | 14 | #![allow(uncommon_codepoints)] |
0531ce1d XL |
15 | |
16 | #[path = "issue-48508-aux.rs"] | |
17 | mod other_file; | |
18 | ||
19 | fn main() { | |
20 | other_file::other(); | |
21 | } |