]> git.proxmox.com Git - rustc.git/blame - src/test/debuginfo/multi-byte-chars.rs
Update unsuspicious file list
[rustc.git] / src / test / debuginfo / multi-byte-chars.rs
CommitLineData
1a4d82fc
JJ
1// min-lldb-version: 310
2
3// compile-flags:-g
4
1a4d82fc
JJ
5// This test checks whether debuginfo generation can handle multi-byte UTF-8
6// characters at the end of a block. There's no need to do anything in the
7// debugger -- just make sure that the compiler doesn't crash.
8// See also issue #18791.
9
10struct C { θ: u8 }
11
12fn main() {
13 let x = C { θ: 0 };
85aaf69f 14 (|c: C| c.θ )(x);
1a4d82fc 15}